Viewing paste dndIC2
made on Thu, 27 Aug 2015 22:25:48 -0400
Sane-itized version, click to copy:
&cmd.say master=$ic *:think [setq(0,[trim(%0)])][setq(f,[left(%q0,1)])][setq(1,[after(%q0,:)])][setq(w,[ifelse(u(is.playing,%#),u(char.name,%#),name(%#))])];@ifelse [eq(ASC(%qf),58)]={@pemit %#={%qw %q1};@oemit %#={%qw %q1}},{@pemit %#={You say, "%q0"};@oemit %#={%qw says, "%q0"}}

Enter a target attribute, object reference and the mushcode.


$ic *:
 think [setq(0,[trim(%0)])][setq(f,[left(%q0,1)])][setq(1,[after(%q0,:)])][setq(w,[ifelse(u(is.playing,%#),u(char.name,%#),name(%#))])];
 @ifelse [eq(ASC(%qf),58)]={
  @pemit %#={%qw %q1};
  @oemit %#={%qw %q1}
 },
 {
  @pemit %#={You say, "%q0"};
  @oemit %#={%qw says, "%q0"}
 }

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