BBot - The best bot of the world

Full Version: Use Item
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
It's correct (when item ID is correct)

Code:
100 {Stamina Item} Self.StaminaMins<2400 Hotkey.Use(11372) Exit()
Hmm so that's strange because It isnt working kkk

I think the administrator has changed the item ID. How can I find it?
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 think the administrator has changed the item ID. How can I find it?

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

other way not exist I think


IF I HELP GIVE REP+ Smile