script errors doing /face

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Mysteryman
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Apr 14, 2004 4:11 pm

script errors doing /face

Post by Mysteryman » Thu May 13, 2004 10:31 pm

I have noticed, that when you /face nolook..... and you do not have a target. it Just says the little msg ,

" There were no matches for: (0-100) any"

fine.

So now I have a macro running .. and I typ in /face fast nolook with NO targett. And an error is reported in my script at what ever line number was executing at that time. THe script does not stop, it keeps going., that's a good thing.. Now if my script does it, it stops.

How can I avoid this? These are the exact 2 lines in my script ( the main loop body ) where it occures most of the time.

/if (${Target.ID}==0} /return
/face fast nolook

So somewhere between the check for the target id, and the turning to look at the mob.. it happens. I've treid doing /face fast nollook id xx, but to the same ends. Any clue how to prevent the ugly error msgs being reported from my script , and more to the point, stop my script from aborting when this condition is hit?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu May 13, 2004 10:46 pm

/face does not have associated FATAL errors (fatal errors are ones that would end the macro), so any error occurring in /face is non-fatal and will let the macro continue. If you want to hide the error from that specific line, you can do:
/squelch /face fast nolook
That will also hide any other MQ2 output from executing that command.

If you're getting a fatal error, its obviously not from the /face command unless you have set "All errors are fatal". If you want to explain what line is giving the FATAL error that you need to get around, do so.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Mysteryman
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Apr 14, 2004 4:11 pm

Post by Mysteryman » Thu May 13, 2004 10:53 pm

I just re-tested and no.. it's not doing a fatal. My mistake there. Was another line actually that i had typed in while the macro was running in order to see what was causing it ;)


/squelch. though.. perfect. Thanks.

Mysteryman
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Apr 14, 2004 4:11 pm

Post by Mysteryman » Thu May 13, 2004 10:56 pm

It does however report a line number error during executing. That's what i was trying no get rid of, not the ""xxxxxxx : (0-100) any" message.