Viewing paste kvset2
made on Wed, 10 Apr 2013 12:14:08 -0400
Sane-itized version, click to copy:
&kv.set #388=[setq(S,[u(kv.sep,%0)])][setq(B,[u(kv.binder,%0)])][ifelse(u(kv.has,%0,%1),[setq(N,[iter([u(%0)],[ifelse([u(is,[trim(first(##,%qS))],[trim(%1)])],%1%qS%2,##,)],%qB,%qB)])][set(%0,%qN)],[set(%0,[u(%0)]%qB%1%qS%2)])]

Enter a target attribute, object reference and the mushcode.


[setq(S,[u(kv.sep,%0)])]
[setq(B,[u(kv.binder,%0)])]
[ifelse(u(kv.has,%0,%1),
 [setq(N,
  [iter([u(%0)],
   [ifelse(
    [u(is,[trim(first(##,%qS))],[trim(%1)])],
    %1%qS%2,
    ##,
   )],
   %qB,%qB
  )]
 )]
 [set(%0,%qN)],
 [set(%0,[u(%0)]%qB%1%qS%2)]
)]

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