MantisBT - mSLDev
View Issue Details
0000137mSLDevSyntax Checkingpublic2013-04-15 16:482013-05-16 21:03
Wims 
administrator 
normalminorhave not tried
closedfixed 
 
0.4.1.0 
0000137: $& and if condition
 if ((!$3) && (($4 == $calc($6 / $2 - 1)) || (!$4))) $&
        || (($3 == $calc($5 / $1 - 1)) && ((!$4) || ($calc($6 / $2 - 1) == $4))) $&
        || ($left($hget(pe,teleport),-2) == $3 $4) $&
        || (teleport* iswm $hget(paclv,$+($calc($3 $iif(%i == r,+1,$iif(%i == l,-1))),.,$calc($4 $iif(%i == d,+1,$iif(%i == u,-1))))) goto drawcop

isn't recognized properly
No tags attached.
Issue History
2013-04-15 16:48WimsNew Issue
2013-05-16 21:03administratorNote Added: 0000102
2013-05-16 21:03administratorStatusnew => closed
2013-05-16 21:03administratorAssigned To => administrator
2013-05-16 21:03administratorResolutionopen => fixed
2013-05-16 21:03administratorFixed in Version => 0.4.1.0

Notes
(0000102)
administrator   
2013-05-16 21:03   
This has been fixed. Note that your code is indeed broken even after mSLDev has been fixed -> you are missing a closing ')' on the actual condition.


(Tip: STOP WRITING SHITTY CODE.)