Viewing paste kvset3
made on Wed, 10 Apr 2013 13:29:59 -0400
Sane-itized version, click to copy:
&kv.set #388=[setq(S,[u(kv.sep,%0)])][setq(B,[u(kv.binder,%0)])][setq(T,[u(find.t,%0)])][setq(A,[u(find.a,%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(%qT,%qA:%qN)],[set(%qT,%qA:[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)])]
[setq(T,[u(find.t,%0)])]
[setq(A,[u(find.a,%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(%qT,%qA:%qN)],
 [set(%qT,%qA:[u(%0)]%qB%1%qS%2)]
)]

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