
Originally Posted by
Thundolfe
Self:
[Fri May 27 20:03:02 2011] You utter a fiery arcane spell.
[Fri May 27 20:03:02 2011] Tserrina Syl'Tor is blasted by a fiery pulse!
Other:
[Fri May 27 20:08:48 2011] Distorted begins a fiery arcane spell.
[Fri May 27 20:08:49 2011] Tserrina Syl'Tor is blasted by a fiery pulse!
[Fri May 27 20:08:49 2011] Tserrina Syl'Tor is blasted by a fiery pulse!
This does not indicate who's spell actually landed. Thus no timer can be started for a specific person. Even if the message was unique , we'd be somewhat stuck at that.
If you compare it to what a curse cure looks like , you can see the caster an recipient information is in the message.
[Fri Dec 25 20:08:49 2010] Bob's Cure Curse relieves curse of destruction from Harry.
---
Those spells probably get used even if it doesn't land , so you would need the casting to start the timer .
It will probably start timers all over the place , but try this :
Quick compare cast string:
Code:
%PLAYERNAME% begins a fiery arcane spell.
don't foget the leading space.
Quick compare cast string (self):
Code:
You utter a fiery arcane spell.
don't foget the leading space.
RegEx Cast:
Code:
\((?<TimeStamp>\w+).* (?<Player>\w+) begins a fiery arcane (?<Target>\w+)..*
RegEx Cast(self):
Code:
\((?<TimeStamp>\w+) You utter a fiery arcane (?<Target>\w+)..*
Your target will always be indicated as being "spell".
Good luck.