BBot - The best bot of the world
Activating alarm from macro - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Activating alarm from macro (/thread-3542.html)



Activating alarm from macro - Daczu - 08-01-2012

I want to make macro to play alarm when some conditionals true. Is there any function to activate alarm, cause I dont see any?


RE: Activating alarm from macro - Dexter - 08-01-2012

Which condition you want?


RE: Activating alarm from macro - Daczu - 08-01-2012

I found it already. Here is example:
Code:
1000 {LowSpear3} Self.Inventory.LeftHand=0 Self.MoveTo(X, Y, Z) Cavebot.Stop Killer.Stop Misc.Alert(LOW SPEAR)
It should activate alarm when out of things in left hand. It also should stop cavebot and killer, but there is another problem. Both "Cavebot.Stop Killer.Stop" features doesn't work for me.


RE: Activating alarm from macro - Dexter - 08-01-2012

Try this:

Code:
1000 {LowSpear3} Misc.ItemCountEx(ID_SPEAR)<=5 Self.MoveTo(X, Y, Z) Cavebot.Stop Killer.Stop Misc.Alert(LOW SPEAR)