/target + /alert when name is longer than 1 word

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

Moderator: MacroQuest Developers

Nerfy
a lesser mummy
a lesser mummy
Posts: 72
Joined: Tue Oct 15, 2002 11:37 am

/target + /alert when name is longer than 1 word

Post by Nerfy » Sat Oct 19, 2002 2:37 pm

Couldn't find anything similar in the forums. I've gotten /target to work like so:

Code: Select all

/target npc "a hill giant"
but when I try and set that up in an alert:

Code: Select all

/alert clear 1 
/alert add 1 npc "a hill giant"
and then reference that alert in a target command:

Code: Select all

/target alert 1
it returns an error that reads:
There are no " around here
Here's the thing. I know that if I set up the above alert with a single word ("giant") then all will work fine. And I know that if I try and set it up without the quotes, it will only see the first word ("a"). If I didn't use any quotes then it would return the error:
There are no a around here
So my guess is that it's seeing that quoted string as just the first quote - and actually looking for a ".

My question boils down to this: How can I be specific about the mob that I want to hunt while using alerts? Any help would be appreciated. Hell, I'd even be fine with a flame that points to some off topic post in another section for an answer =).
----------
* Nerfy *

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

Post by Fippy » Sat Oct 19, 2002 7:54 pm

I have the same problem with my hunter script. I think its a bug with alert lists but I aint sure.

Fippy

Nerfy
a lesser mummy
a lesser mummy
Posts: 72
Joined: Tue Oct 15, 2002 11:37 am

Heh

Post by Nerfy » Sat Oct 19, 2002 8:19 pm

Yep Fippy, I'm having this problem in your hunter script as well =)
----------
* Nerfy *