BBot - The Best Bot of the World - Forums

Full Version: alarm when key messages on screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
as title say need macro, alarm when "xxxxx" text shows on screen.
refresh plz help ;p
refffffffffffffffffff
where does this message come from? system? local chat? npc chat?
local chat, i would like an alarm when x item drops

00:48 (Minotaur) threw: - 2 gold coins - bag - chain helmet - 2 gold coins - brass helmet .
[macro]1 {Loot Alarm} When.SystemMessage(UP, ITEM NAME) Exit() {UP} Misc.Alert(Loot) Exit()[/macro]
Code:
When.SystemMessage(UP, ITEM NAME)
Exit()

{UP}
Misc.Alert(Loot)
Exit()

Just edit "ITEM NAME" for the item u want, if u want more items just copy and paste the same macro and just change the item name.

Like loot1, loot2, loot3 etc.
Macros Error
Message:
`When` functions can only be executed inside `once` macros (no auto macros/no manual macros)
(10-28-2020, 11:51 AM)prohowkz Wrote: [ -> ]Macros Error
Message:
`When` functions can only be executed inside `once` macros (no auto macros/no manual macros)

dude copy paste this [macro]1 {Loot Alarm} When.SystemMessage(UP, ITEM NAME) Exit() {UP} Misc.Alert(Loot) Exit()[/macro]

Execute should be on Once
sorry, but still not working,

server log screen: https://i.imgur.com/YNowkrT.png
What server is that, becouse looks like its not a system message
its kind different
ronots.com 8.7 custom client with custom ids
thats why then its not working, probably maybe with other command its possible but im to lazy, sorry
): anyway ty ;p