BBot - The best bot of the world
How can i change Variables - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: How can i change Variables (/thread-9564.html)



How can i change Variables - gogol13 - 05-15-2013

Hello, how i can change Variables in macro :]

looks like

if i click some hotkey
Code:
Tibia.SendKey(123 )
macro check
Code:
macrostatus=0
macro change to
Code:
macrostatus=1
how can i change it automatically???
i found only
Code:
VarSub(Name, Value)
VarMult(Name, Value)
VarDiv(Name, Value)
VarMod(Name, Value)


Which works like I need?


RE: How can i change Variables - Kimoszin - 05-16-2013

macrostatus:=1


RE: How can i change Variables - gogol13 - 05-17-2013

Can you show me an example?


RE: How can i change Variables - gogol13 - 05-18-2013

bump that's important ;s


RE: How can i change Variables - Kimoszin - 05-19-2013

[macro]300 {Macro Sample} VK:=112 Tibia.IsKeyDown(!VK!)==1 !varName!==0 varName:=1 HUD.Display(Variable value changed!)[/macro]

Code:
VK:=112 ## Virtual Key Code
Tibia.IsKeyDown(!VK!)==1 ## If press
!varName!==0 ## Check the varName is 0
varName:=1 ## Then, change to 1
HUD.Display(Variable value changed!) ## Print



RE: How can i change Variables - gogol13 - 05-19-2013

thx Very much :*


Can Close Thearde