Viewing paste pickup2
made on Mon, 04 Mar 2013 23:02:49 -0500
Sane-itized version, click to copy:
&answer flip=$pick up:@ifelse [u(is,u(mode),ICC)]={@pemit %#=You pick up the [fullname(me)].[set(me,PHONER:%#)][set(me,MODE:CIP)][set([u(INCOMING)],CONNECTED:[num(me)])][set(me,CONNECTED:[u(INCOMING)])]%r[showpicture(PICPICKUP)]%rUse '[color(green,black,psay )]' (or '[color(green,black,p )]') to talk into the phone.;@oemit %#=%N picks up the [fullname(me)].;@pemit [u(INCOMING)]=You hear someone pick up.;},{@pemit %#=You pick up the phone but no one is there. You hear a dialtone and then hang up. [play(u(DIALTONE))];@oemit %#=%N picks up the phone, but no one is on the other end.}

Enter a target attribute, object reference and the mushcode.


$pick up:@ifelse [u(is,u(mode),ICC)]={
 @pemit %#=You pick up the [fullname(me)].
 [set(me,PHONER:%#)]
 [set(me,MODE:CIP)]
 [set([u(INCOMING)],CONNECTED:[num(me)])]
 [set(me,CONNECTED:[u(INCOMING)])]%r
 [showpicture(PICPICKUP)]%r
 Use '[color(green,black,psay )]' (or '[color(green,black,p )]') to talk into the phone.;
 @oemit %#=%N picks up the [fullname(me)].;
 @pemit [u(INCOMING)]=You hear someone pick up.;
 },
 {
  @pemit %#=You pick up the phone but no one is there. You hear a dialtone and then hang up. [play(u(DIALTONE))];
  @oemit %#=%N picks up the phone, but no one is on the other end.
 }

save as: imprettify (attempt to format for readibility):
Found this useful? Try MUSHcode Repeater
written by orcs.biz