BBot - The best bot of the world
Problem with macros ending on variable setting - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: BBot (https://forums.bmega.net/forum-3.html)
+--- Forum: General (https://forums.bmega.net/forum-19.html)
+--- Thread: Problem with macros ending on variable setting (/thread-13766.html)



Problem with macros ending on variable setting - Bbotone - 01-28-2014

Whenever I finish a macro with a variable set, like this one....:

-----------------------
MACRO EXAMPLE (auto every 1000ms)
Tibia.IsKeyDown(81)==1
Tibia.IsKeyDown(65)==1
HUD.Setup(2, 2, 200, 222, 255)
HUD.Display(forcegodepot to 1)
forcegodepot:=1
----------------------
After I click on "Done", it saves the macro, but when I have to run it, the last line doesn't work, AND when I click to edit macro on macro list, the edit macro window appears without the last line, BUT when I save the script, and edit the script file with notepad, the last line is there.


THANKS IN ADVANCE


RE: Problem with macros ending on variable setting - Sellcc.Eu - 01-29-2014

just do
MACRO EXAMPLE (auto every 1000ms)
Tibia.IsKeyDown(81)==1
Tibia.IsKeyDown(65)==1
HUD.Setup(2, 2, 200, 222, 255)
HUD.Display(forcegodepot to 1)
forcegodepot:=1
end