Alert! Alerts.. in general.

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Shin Noir
a ghoul
a ghoul
Posts: 90
Joined: Tue Aug 05, 2003 8:18 pm

Alert! Alerts.. in general.

Post by Shin Noir » Thu Aug 21, 2003 12:22 pm

The last little while I've been playing with alerts.. and have had minimum luck. The first real time I've seen alerts actively used was in
http://macroquest2.com/phpBB2/viewtopic.php?t=774
the "send you a tell when X mob spawns" coding. Which was neat, it worked rather well.

Then I found another on http://macroquest2.com/phpBB2/viewtopic.php?t=2620 for the Hunter script, It gave me a good idea on what the alerts could do, but it still lacked a certain something I wanted them to do.

From what I gathered on reading these two examples of alerts.. a limitation\rule is:

All alerts given in one number set (ex: /alert add 1...) will be generalized into one alert. If ANY of the given alerts are up, $alert(#)=="TRUE", and there's no way to specifically tell which creature is actually up, without spamming the screen with /w npc <alert 1 of set 1> /w npc <alert 2 of set 1> ect.. Ok, easily worked around by setting each npc alert in it's own specific set, but..

My couple question:

Is there a way to add a two word alert? I.E.
/alert add 1 npc "Orc Pawn"
or
/alert add 1 npc "Shardwurm Broodmother"

Can you remove the echo of whenever you change alerts (not the echo of all messages, JUST alerts) I.E.
Alerts for 1 cleared.
Added Alert for 'alertname'.


Any help would be appreciated.

YKW-28983
a hill giant
a hill giant
Posts: 252
Joined: Sun Dec 01, 2002 11:37 pm

Post by YKW-28983 » Thu Aug 21, 2003 12:28 pm

Currently you can't add two worded alerts.. what you could do is, get the level range of the mob and put that in your alert too..

also if you take a look @ your macroquest.ini takea look @ filters.

Code: Select all

[Filter Names]
Filter1=You have no idea what direction you are facing.
Filter2=You think you are heading
Filter3=Summoning
Filter4=Selected
Filter5=Your target is too far away
Filter6=You cannot see your target
You can add a
Filter7=alerts for
Filter8=added alert

the filters take any text that starts with alerts for and added alert and doesn't display em to you.

Shin Noir
a ghoul
a ghoul
Posts: 90
Joined: Tue Aug 05, 2003 8:18 pm

Post by Shin Noir » Thu Aug 21, 2003 12:46 pm

Rofl, don't you just HATE when you post something then find the answer like 5 mins afterwords?!

you can add two worded alerts like so


/alert add 1 npc some_four_worded_mob00

or /alert add 1 npc an_orc_pawn00

Yay for that.

(posted this btw for others who may have asked the same question)

Thank you for the filtering alert, too! I recall people talking abou tthat before, I just never could find it.. heh

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Thu Aug 21, 2003 6:20 pm

Actually, don't include the 00 at the end, and it'll match any spawn number with that name... /alert add 1 Some_Mob.