Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
equip ring if press hotkey
#1
Tibia.SendKey(:K_F4)
Self.Equip.Ring(3048)

how to make it work? i wanna bot equip ring if i press f4
Reply
#2
is it old tibia version? ther is no built in Equip Item in hotkeys?



btw command Tibia.SendKey will PRESS a key,

if you want macro to do something when YOU press it,
u need to use Tibia.KeyDown(...)
Reply
#3
Yes it's old version.
So how to make this script ?
Tibia.KeyDown(112)
Self.Equip.Ring(3048)?
Reply
#4
(10-16-2018, 06:39 PM)Insider Wrote: Yes it's old version.
So how to make this script ?
Tibia.KeyDown(112)
Self.Equip.Ring(3048)?

ye
Reply
#5
It doesn't Work. Im pressing F1 and it didn't wearing ring ;C What I'm doing bad ?
Reply
#6
(10-16-2018, 06:44 PM)Catar Wrote:
(10-16-2018, 06:39 PM)Insider Wrote: Yes it's old version.
So how to make this script ?
Tibia.KeyDown(112)
Self.Equip.Ring(3048)?

ye

give us full code please this doesnt work
Reply
#7
because u didnt specify condition when you want next line to happen (Tibia.KeyDown(112) is 1 or 0, :True or :False)

[macro]50 {asda} Tibia.KeyDown(112)==1 Self.Equip.Ring(3048)[/macro]
But to this kind of macro I would also add cooldown, or condition to not put on another ring while you already wearing it.
Reply
#8
(10-17-2018, 06:29 PM)Catar Wrote: because u didnt specify condition when you want next line to happen (Tibia.KeyDown(112) is 1 or 0, :True or :False)

[macro]50 {asda} Tibia.KeyDown(112)==1 Self.Equip.Ring(3048)[/macro]
But to this kind of macro I would also add cooldown, or condition to not put on another ring while you already wearing it.

but this macro equip once after once i wanna equip only one when i click
Reply
#9
(10-20-2018, 02:12 PM)opol Wrote: but this macro equip once after once i wanna equip only one when i click



Did u even read what i said below macro?

Quote:But to this kind of macro I would also add cooldown, or condition to not put on another ring while you already wearing it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)