BBot - The best bot of the world

Full Version: Help Anti Push
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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"
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"
Didnt work too :x

i want like i click 1time "end" and ative and for off i ckick another time "end"...
its possible?
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?