Viewing paste ringstate2
made on Sat, 02 Mar 2013 02:05:53 -0500
Sane-itized version, click to copy:
&ringstate flip=[setq(q,u(connecting))][setq(1,[gt(u(%qq/rangs),sub(u(%qq/rings),1))])][setq(2,[and(u(is,u(%qq/MODE),CIP),u(is,u(%qq/INCOMING),[num(me)]))])][setq(3,[u(is,u(%qq/MODE),ICC)])][ifelse(%q1,1,ifelse(%q2,2,ifelse(%q3,3,4)))]

Enter a target attribute, object reference and the mushcode.


[setq(q,u(connecting))]
[setq(1,[gt(u(%qq/rangs),sub(u(%qq/rings),1))])]
[setq(2,[and(u(is,u(%qq/MODE),CIP),u(is,u(%qq/INCOMING),[num(me)]))])]
[setq(3,[u(is,u(%qq/MODE),ICC)])]
[ifelse(%q1,1,ifelse(%q2,2,ifelse(%q3,3,4)))]

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