BBot - The best bot of the world
Help Anti Push - 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: Help Anti Push (/thread-18509.html)



Help Anti Push - LeandroBento - 09-16-2015

Hey Guys
I got this script:
Quote:X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.HasID(3032, !X!, !Y!, !Z!)<>1
Map.Thrown(3032, 2, !X!, !Y!, !Z!)

its possible just ative macro when i click one key ? for example "insert"


RE: Help Anti Push - sifu - 09-16-2015

Have you tried ?

Check if a Key is down in tibia
Code:
Tibia.IsKeyDown(VirtualKeyCode)

I Think that you can combine this with Labels and Variables of control.
Something like:

Code:
if ACTIVE == 1 && Tibia.IsKeyDown(HOTKEY)
  ACTIVE = 0
  # dont thrown itens

if ACTIVE == 0 && Tibia.IsKeyDown()
   ACTIVE = 1
  # go label thrown

{Label Thorwn}
  # do thrown itens


(09-16-2015, 09:34 AM)LeandroBento Wrote: Hey Guys
I got this script:
Quote:X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.HasID(3032, !X!, !Y!, !Z!)<>1
Map.Thrown(3032, 2, !X!, !Y!, !Z!)

its possible just ative macro when i click one key ? for example "insert"



RE: Help Anti Push - LeandroBento - 09-17-2015

Didnt work too :x

i want like i click 1time "end" and ative and for off i ckick another time "end"...
its possible?


RE: Help Anti Push - sifu - 09-17-2015

I don't know :/

But I think it is possible and that you didn't undertood the algoritm. :p

(09-17-2015, 01:34 PM)LeandroBento Wrote: Didnt work too :x

i want like i click 1time "end" and ative and for off i ckick another time "end"...
its possible?