Viewing paste maptile
made on Sun, 07 Jul 2013 11:41:11 -0400
Sane-itized version, click to copy:
&map.tile #3629=[setq(x,%0)][setq(y,%1)][setq(i,[div(%qx,40)])][setq(j,[div(%qy,40)])][setq(a,[mul(%qi,40)])][setq(b,[mul(%qj,40)])][setq(g,[sub(%qx,%qi)])][setq(h,[sub(%qy,%qj)])][setq(k,[mul(%qh,40)])][setq(o,[add(%qg,%qh)])][setq(m,[u(MAP.%qi.%qj)])][setq(r,[extract(%qm,%qo,1,|)])][ifelse(eq(strlen(%qr),0),-1,%qr)]

Enter a target attribute, object reference and the mushcode.


[setq(x,%0)]
[setq(y,%1)]
[setq(i,[div(%qx,40)])]
[setq(j,[div(%qy,40)])]
[setq(a,[mul(%qi,40)])]
[setq(b,[mul(%qj,40)])]
[setq(g,[sub(%qx,%qi)])]
[setq(h,[sub(%qy,%qj)])]
[setq(k,[mul(%qh,40)])]
[setq(o,[add(%qg,%qh)])]
[setq(m,[u(MAP.%qi.%qj)])]
[setq(r,[extract(%qm,%qo,1,|)])]
[ifelse(eq(strlen(%qr),0),-1,%qr)]

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