Spawn Alert?

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

User avatar
wilso132
Contributing Member
Contributing Member
Posts: 106
Joined: Thu Oct 17, 2002 11:53 am

Spawn Alert?

Post by wilso132 » Thu Oct 17, 2002 11:56 am

Hello,
I have used MQ for a while and I know it is possible to add an alert when a npc is up. I did however wonder one thing, is it possible to make my computer beep (make a loop so it beeps until I wake up and turn it off).

For example,
Our mages in the guild need Magi P'Tasa--how would I go about making an alert where I can camp a char at the SS and alert me when the mob has spawned?

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Mob alert

Post by ap50 » Thu Oct 17, 2002 1:55 pm

Code: Select all

| Mobalert.mac
  Sub Main 
    /alert add 1 npc $p0 
   
    :LOOP 
      
      /if $alert(1)=="TRUE" { 
        /target alert 1 
        /face fast 
        /beep
        /beep
        /beep
        /beep
        /beep
        /beep
        /echo %T just spawned.
  	/alert clear 1
        /goto :EXIT 
      } 
      /delay 20 
    /goto :LOOP 
    :EXIT 
  /return 
Just alias /mob /macro mobalert and use /mob *insert name of mobs to watch for*
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

MrSmallie
a hill giant
a hill giant
Posts: 167
Joined: Fri Oct 11, 2002 11:18 am

My opinion

Post by MrSmallie » Fri Oct 18, 2002 10:23 am

What's the point of doing /face fast?
That's just a way of drawing unwanted attention, to save what? 2 seconds?

Why do you think other offsets aren't posted here? Because dimwits will abuse them. I'm not calling you a dimwit. Is there more to using /face fast then saving a second or two? [edited]

eqjim
a lesser mummy
a lesser mummy
Posts: 35
Joined: Tue Aug 27, 2002 3:56 pm

Post by eqjim » Fri Oct 18, 2002 6:24 pm

i think the /face is there just to show which way the mob is.

just remove it, i would .. one thing i noticed before was /face will turn you EVEN IF YOUR SITTING!

imagine if your at a raid (the mob listed above was in hate.. usually thats a raid type zone) and you see a char in front of you turn around while sitting, its not possible. i would be like, WTF?! did you just see that?

plus if its a named youll most likely know where it is. if it were me, id remove it and if your REALLY paranoid, remove the /target part. how would you target a named mob from across the zone? unless your a class that can bind sight it might be a bit suspicious (ie: how does a warrior target a mob on the other side of the zone by himself?).

with MQ being more and more known.. they might have a clue and figure you out, never know what might happen then =/

but it will do what the guy wanted and what more can you ask? :p its a good working macro for what the guy wants. cant hate on that.

Java
a lesser mummy
a lesser mummy
Posts: 73
Joined: Sat Jul 13, 2002 12:03 pm

Post by Java » Mon Oct 21, 2002 7:22 pm

Code: Select all

| Mobalert.mac 
  Sub Main 
    /alert add 1 npc $p0 
    
    :LOOP 
      
      /if $alert(1)=="TRUE" { 
        /target alert 1
        | Stand up, wait for that animation to end, 
        | then face the target.
        /Stand
        /delay 2
        /face nopredict 
        /beep 
        /beep 
        /beep 
        /beep 
        /beep 
        /beep 
        /echo %T just spawned. 
     /alert clear 1 
        /goto :EXIT 
      } 
      /delay 20 
    /goto :LOOP 
    :EXIT 
  /return 
My perception is my reality.

[url=http://www.phpbb.com/][img]http://www.mutedfaith.com/images/illusion.jpg[/img][/url]

Pwner
decaying skeleton
decaying skeleton
Posts: 4
Joined: Tue Dec 10, 2002 8:22 pm
Location: Idaho =)

|| | | ||| Beep beep

Post by Pwner » Thu Dec 12, 2002 4:03 am

Comp wont beep when it locks the target how come?

Yalp
a ghoul
a ghoul
Posts: 90
Joined: Thu Dec 05, 2002 6:28 pm

Try this..

Post by Yalp » Thu Dec 12, 2002 4:12 am

add a /delay 10 before each beep.. could be that your sound card is in use also.. not sure

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Thu Dec 12, 2002 4:39 am

Coul also be your internal speak is not connected to your mobo. The beep commands beeos the internal speaker only.
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Thu Dec 12, 2002 8:22 am

Salutations,
my internal speaker didn't work unless booting until I got XP... don't konw why... but I could use the API for beeping it (from VB woot! I'm leet :p)

lifewolf
a ghoul
a ghoul
Posts: 143
Joined: Fri Oct 18, 2002 6:29 pm

Post by lifewolf » Thu Dec 12, 2002 10:56 am

L124RD wrote:Salutations,
my internal speaker didn't work unless booting until I got XP... don't konw why... but I could use the API for beeping it (from VB woot! I'm leet :p)
98SE no beep.

Why cant cool open source projects hose on NT OS's instead of Non-NT ones?

/sigh

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Thu Dec 12, 2002 10:55 pm

Salutations,
SE? why would I use SE? I had win98 original ed...