[TF] recasting
Brought to you by:
kenkeys
|
From: jobs at sans.c. (jobs) - 2003-04-01 16:47:41
|
I have been running a macro that will note when you lose a spell on you and allow you to recast it
with the touch of a button. (*lick Metria*)
Here is a sample:
/def -ag -msimple -E{spellsystem} -t'You feel less protected from destructive energies.'
spells_energy_shield = \
/echo -aBCred Energy Shield%;\
/test store_spell("c 'energy shield'")
I have also been running a trigger that when I lose concentration on a spell it will recast it on
its own:
/def -ag -mregexp -t'^You lost your concentration while trying to cast (.*).' casting = /echo
-aBCyellow %P1%;cast "%P1"
I tried something different today and tried to add the spells that I fail during the single key
recast it would store it in the que like it does when it runs out:
/def -ag -msimple -E{spellsystem} -t'You feel less protected from destructive energies.'
spells_energy_shield = \
/echo -aBCred Energy Shield%;\
/test store_spell("c 'energy shield'")
/def -ag -msimple -E{spellsystem} -t'^You lost your concentration while trying to cast energy
shield.' Energy_Shield_fail=\
/echo -aBCyellow %P1%;\
/test store_spell("c 'energy shield'")
But it don't work :-(
1 of several things would happen. either it would recast it by itself, until it work, recast itself
by itself until the storage part decided to work, or it would store it right away.
On top of that, the /echo -aBCyellow %P1 wouldnt work for the storage and it would just show a blank
line.
Now I know that I can just take out the self recasting, but i would rather have it in there.
I tried -p1 and -p0 and -p100 and all that stuff, but it would still wind up with the same results.
I also tried the storaged fail with with -mregexp with equally lousy results.
Would it be possible to have it work with the | thing? like:
You feel less protected from destructive energies.|You lost your concentration while trying to cast
energy shield.
I tried, but it would just give me errors :-(
TIA
Jason
--
Jason Weiss
Technical Recruiter
SANS Consulting, Inc.
90 John street, #313
New York, NY 10038
Phone: 212-616-4800
Fax: 212-616-4805
Email: Ja...@sa...
AOL Instant Messenger: JasonWSans
|