diff --git a/test/jump_conditions.mlog b/test/jump_conditions.mlog index 5edd2d5..64b5140 100644 --- a/test/jump_conditions.mlog +++ b/test/jump_conditions.mlog @@ -1,5 +1,6 @@ jump -1 equal x 100 jump -1 notEqual x 100 +jump -1 strictEqual x 100 jump -1 lessThan x 100 jump -1 lessThanEq x 100 jump -1 greaterThan x 100 diff --git a/test/operations.mlog b/test/operations.mlog index 72ad794..5328110 100644 --- a/test/operations.mlog +++ b/test/operations.mlog @@ -7,6 +7,7 @@ op mod result a b op pow result a b op equal result a b op notEqual result a b +op strictEqual result a b op land result a b # Logical and op lessThan result a b op lessThanEq result a b @@ -20,8 +21,8 @@ op xor result a b # bitwise XOR op not result a 0 # Single arg; Bitwise NOT op max result a b op min result a b -op atan2 result a b -op dst result a b +op angle result a b +op len result a b op noise result a b op abs result a 0 # Single arg op log result a 0 # Single arg @@ -33,3 +34,7 @@ op floor result a 0 # Single arg op ceil result a 0 # Single arg op sqrt result a 0 # Single arg op rand result a 0 # Single arg + +# Deprecated +op atan2 result a b +op dst result a b diff --git a/test/sample.mlog b/test/sample.mlog index 4ff1765..fd61cb5 100644 --- a/test/sample.mlog +++ b/test/sample.mlog @@ -16,4 +16,6 @@ ubind @poly ucontrol move 0 0 0 0 0 uradar enemy any any distance turret1 1 result ulocate building core true @copper outx outy found building -# This is a comment \ No newline at end of file +wait 0.5 +lookup block result 0 +# This is a comment