/alerts

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

Moderator: MacroQuest Developers

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

/alerts

Post by theafkxper » Fri Oct 25, 2002 9:52 pm

Alright, ive been on this board fo ra while and im still having troublw with alerts, im trying to write a program that will tell me when certain mobs have popped

could anyoen write me some code that adds lets say, a bat a spider and a fish to an alert list, and then notify's me when they spawn? at this point im jus ttotally lost
-afk

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sat Oct 26, 2002 5:57 am

you read the man?
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy

[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]

-Mqz-
orc pawn
orc pawn
Posts: 10
Joined: Thu Oct 17, 2002 1:29 am

Post by -Mqz- » Sat Oct 26, 2002 6:52 am

A bit of the Fooking-manual that everybody always is talking about :)


/alert add # [pc|npc|corpse|any] [radius radius] [range min max] spawn
Adds an alert to watch for a spawn
Options are similar to those on /who and /where

/alert clear #
Clears alert list #

/alert list #
Lists all alerts on list #

And a bit of another macro. (Dont know if it works, buts it is an ideer), and check out some of the hunting scripts in the "MacroQuest::Macro Depot", there are alot of macros with alert lists, hunting, avoiding and spawning..

Code: Select all

Sub Main 
   /press esc 
| Can't remember, is this "on" or "off" to stop showing it? 
   /filter name off 
   /filter name add There are no 
   :LoopNPCCheck 
      /target npc dyllin 
   /if $target()!=TRUE { 
      /delay 5s 
      /goto :LoopNPCCheck 
   } 
   /if $target(name)!~"dyllin" /goto :TryAgain 
   /call KillNPC 
   :TryAgain 
   /press esc 
   /goto :LoopNPCCheck 
/return
I know how it is to be lazy, hope this helps a bit :D
Your just jalous because the voices are talking to me.

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Sun Oct 27, 2002 1:31 am

lol, yeah ive read the man several times, its not helping me, i can get things on a list, and ive got the whole "if alert(1)=TRUE" thing down pat, i just cant figure out how to get it to work in conjuntion with the /who command