Viewing paste dm1
made on Wed, 08 May 2013 02:00:43 -0400
Sane-itized version, click to copy:
&areceive master=@pemit %1={The dungeon master looks over what you handed him.%r[ifelse(and(u(canchangechar,%1),u(is,parent(%0),#4965)),{The dungeon master nods solemnly and says "This will be your character in the party."[set(%1_char:%0)][u(oannounce,%0,{[name(%1)] has changed his character to [u(%0/name)]})]},{The dungeon master looks confused and hands [name(%0)] back to you.[ifelse(not(u(canchangechar,%1,%0)),{The dungeon master says, "You cannot change your character right now.  Try at a more appropriate time."},{The dungeon master says, "I have no use for that."})]})]};give %0=%1

Enter a target attribute, object reference and the mushcode.


@pemit %1=
 {
  The dungeon master looks over what you handed him.%r
  [ifelse(
   and(u(canchangechar,%1),u(is,parent(%0),#4965)),
   {
    The dungeon master nods solemnly and says "This will be your character in the party."
    [set(%1_char:%0)]
    [u(oannounce,%0,{[name(%1)] has changed his character to [u(%0/name)]})]
   },
   {
    The dungeon master looks confused and hands [name(%0)] back to you.
    [ifelse(not(u(canchangechar,%1,%0)),
     {The dungeon master says, "You cannot change your character right now.  Try at a more appropriate time."},
     {The dungeon master says, "I have no use for that."}
    )]
   }
  )]
 };give %0=%1

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