Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use Item
#1
Actually I'm playing on OTS and I need a help to make a macro.

I would like to use a stamina item when stamina is low 40h

Quote:Self.StaminaMins<2400
Hotkey.Use(11372)

How can i do that?
#2
It's correct (when item ID is correct)

Code:
100 {Stamina Item} Self.StaminaMins<2400 Hotkey.Use(11372) Exit()
I'm trying HELP You guys, make me favour and press this /\ green button with REP+, this keeping me with helping You.
#3
Hmm so that's strange because It isnt working kkk

I think the administrator has changed the item ID. How can I find it?
#4
I found way to do that, but it's nooby Big Grin
Try this:
Code:
100 {Stamina Item} X:=Self.X Y:=Self.Y Z:=Self.Z Self.StaminaMins<2400 Map.UseOn(11372, 99, !X!, !Y!, !Z!, 1) Exit()

ID 11372 - Your Stamina item
ID 99 - You on map
I'm trying HELP You guys, make me favour and press this /\ green button with REP+, this keeping me with helping You.
#5
I think the administrator has changed the item ID. How can I find it?

ALT+F8 isnt working for that
#6
ALT + F8 and click right mouse button on item

other way not exist I think


IF I HELP GIVE REP+ Smile
I'm trying HELP You guys, make me favour and press this /\ green button with REP+, this keeping me with helping You.


Forum Jump:


Users browsing this thread: 1 Guest(s)