Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button is it down?
#2
You missed the exclamation points:

Code:
zmienna:=Tibia.KeyDown(160)
!zmienna!==1

You can also do:
Code:
Tibia.KeyDown(160)==1

Here is an example:

Code:
200 {Ultra Haste by C} IDBOH:=3079 IDWH:=3368 IDTR:=3053 BP:=0 Tibia.KeyDown(36)>=1  Self.UnEquip.Boots(!BP!) Macro.Wait(50) Self.Equip.Boots(!IDBOH!) Self.UnEquip.Helmet(!BP!) Macro.Wait(50) Self.Equip.Helmet(!IDWH!) Self.UnEquip.Ring(!BP!) Macro.Wait(50) Self.Equip.Ring(!IDTR!) Exit()

When you press key 36 (Home), it will unequip whatever in on the boots slot to the BP 0 (Main BP) and equip Boots of Haste, also unequip whatever is on Helmet slot and equip Winged Helmet, and also unequip whatever in on Ring slot e equip Time Ring.
ATENÇÃO! Se esta informação lhe foi útil, seja gentil e click em "Give Reputation to This User".


Messages In This Thread
Button is it down? - by gogol13 - 05-18-2013, 08:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)