BBot - The best bot of the world

Full Version: Macro under hotkey.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys i'm here to explain how to make bbot activate macros under specific keyboard keys.

First you have to create a macro with this comand before any other:

Tibia.IsKeyDown(VirtualKeyCode)==1

Ex: 1000 {Drop Vial} Tibia.IsKeyDown(VirtualKeyCode)==1 Y:=Self.Y X:=Self.X Z:=Self.Z Map.Thrown(285, 100, !X!, !Y!, !Z!)

(1) Delay can't be 0.
(2) It doesn't work without tibia selected.
-------------------------------------------------------------------------------------------------

VirtualKeyCode: It's one hexadecimal number or keyword that's assigned to an specific keyboard key, Here is the Codes.

http://wiki.bmega.net/doku.php?id=virtual_key_codes

So if I want to drop vial with del key the macro will be like this:

1000 {Drop Vial} Tibia.IsKeyDown(46)==1 Y:=Self.Y X:=Self.X Z:=Self.Z Map.Thrown(285, 100, !X!, !Y!, !Z!)
interessante...I will test later ...