matching multiple words

Posted by Zotiel on Thu 16 Oct 2003 09:56 AM — 3 posts, 15,699 views.

#0
Is it possible to match mutiple wrds under one *?

As in, I wanna set up triggers & scripts based on spell names. But spells like CURE BLINDNESS and CURE LIGHT get confused.

So is there something like a "*" or [*] that will 'quote' any varidable within the quotes or brackets?

Example:
Match: Loki, please cast "spell name" on <name>
Send : cast %1 %2

Further more, is it possible to "keep" the spell name and victim name for future referance (in case the resist, or ir I lose concentration).

Example
(See above example, %1 == Cure light" %2 == Bob)
You lost your concentration.
Say It would seem my mental abilities are lacking today. Lemme try again.
Cast @SpellUpSpell @SpellUpVictim

I've tried a few different things, mainly based on the 'open doors' post in tips & tricks...I can get it to call %1 & %2 in a later function, but it is not using them correctly.

Amended on Thu 16 Oct 2003 09:57 AM by Zotiel
Australia Forum Administrator #1
What is your trigger exactly?

Match: Loki, please cast "*" on *


That should work as it is. However you might put the send text to be:

cast "%1" %2
#2
I got it...I missed the cast <spell> ON <victim>

So %1 was falling on CURE and %2 was falling one LIGHT and <victim> was getting ignored.

I got it to work in a script as well...

I'll have other questions most likely on how to tie one script into another...but as fer now, I gotta get.

Sorry fer being sooooo annoying & THANK YOU ALL for your help & patience thus far.

-Zots