BBot - The best bot of the world
Help With Macro - 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: Help With Macro (/thread-20935.html)



Help With Macro - Malfis - 10-05-2018

Hello guys!

I need help with a script

I am currently using this script:

1 {MSG-Antibot} Str.Set(AntiBotMessagePattern, Anti) When.SystemMessage(WhenReceivedAntiBotMessage, !AntiBotMessagePattern) Exit() {WhenReceivedAntiBotMessage} Misc.Alert(Anti-Bot) exit()

It sounds the alarm whenever the ant bot message appears on "character 1".

But i play on 2 PCs, and one of them ("character 2") does not have sound.

Is it possible to modify this script, so instead of sounding the alarm, it sends a PM to another character? This way i would make "character 2" send a PM to "character 1" whenever ant bot appears.

And if so, is it possibe to make a macro that sounds the alarm whenever "character 2" and ONLY him, sends a PM?

I know it is probably something simple, but i don't understand very much about macros.

Thanks in advance!


RE: Help With Macro - Catar - 10-05-2018

have idea,

use same macro, but instead of misc.alert(anti-bot)
try this
Self.PrivateMessage(YourcharacterName, Message)


About that other part of request, i'm not sure yet, i didn't work with new macros, so i dont have them figured out yet.


RE: Help With Macro - Malfis - 10-05-2018

(10-05-2018, 07:42 PM)Catar Wrote: have idea,

use same macro, but instead of misc.alert(anti-bot)
try this
Self.PrivateMessage(YourcharacterName, Message)


About that other part of request, i'm not sure yet, i didn't work with new macros, so i dont have them figured out yet.
Alright, Ill try it out

Thank you!