Viewing paste psay3
made on Mon, 04 Mar 2013 22:10:49 -0500
Sane-itized version, click to copy:
&ciptalk flip=$psay *:@ifelse [u(is,u(mode),CIP)]={@oemit %#=%N says into the [fullname(me)] receiver, "%0";@pemit %#=You say into the phone: "%0";@if [u(is,u([u(CONNECTED)]/mode),CIP)]={@pemit [u(CONNECTED)]=A voice [ifelse(u(%#/sex),man's,woman's)] on the other end says: "%0";},{@oemit %#=%N says, "%0";@pemit %#=You say, "%0", but no one is on the other end.}}

Enter a target attribute, object reference and the mushcode.


$psay *:
@ifelse [u(is,u(mode),CIP)]={
 @oemit %#=%N says into the [fullname(me)] receiver, "%0";
 @pemit %#=You say into the phone: "%0";
 @if [u(is,u([u(CONNECTED)]/mode),CIP)]={
   @pemit [u(CONNECTED)]=A voice [ifelse(u(%#/sex),man's,woman's)] on the other end says: "%0";
 },
 {
   @oemit %#=%N says, "%0";
   @pemit %#=You say, "%0", 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