BBot - The best bot of the world
Use Item - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Use Item (/thread-14811.html)



Use Item - aleushizima - 04-28-2014

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?


RE: Use Item - mr. Kris - 04-28-2014

It's correct (when item ID is correct)

Code:
100 {Stamina Item} Self.StaminaMins<2400 Hotkey.Use(11372) Exit()



RE: Use Item - aleushizima - 04-28-2014

Hmm so that's strange because It isnt working kkk

I think the administrator has changed the item ID. How can I find it?


RE: Use Item - mr. Kris - 04-28-2014

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


RE: Use Item - aleushizima - 04-28-2014

I think the administrator has changed the item ID. How can I find it?

ALT+F8 isnt working for that


RE: Use Item - mr. Kris - 04-28-2014

ALT + F8 and click right mouse button on item

other way not exist I think


IF I HELP GIVE REP+ Smile