BBot - The best bot of the world

Full Version: for loop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
is it possible to include 'for' loop in the macro? If it is - how to do it? Beacuse code which i found doesn't work at all..

for x:=0, x<5, 1 do
[here i do what i need to do]
end
You could do it with pure variable logic.

X:=0
{TryAgain}
->Logic
VarAdd(X, 1)
X==5 [TryAgain]