|
Karac Newbie
Joined: 16 Sep 2011 Posts: 2
|
Posted: Wed Sep 21, 2011 8:22 pm
Syntax for nesting messeges in a trigger |
Hi Folks, I was wondering if a) it's possible to nest messages in a trigger, b) how to do it if it is possible, and c) if I have to create a separate trigger, do I have to repeat the class at the end? I'll use one of Zugg's examples from his advanced triggers tutorial to explain things. Say we have this:
Code: |
#TRIGGER {({@group}) *{hits|misses|massacres|scratches}} {assist %1} autojoin |
Adding the various attack messages is easy enough but I also need to cover backstabbing like so:
tries to backstab
places {a|some|the}
The first message should fit in like the other messages but the second one...what's the syntax to add this?
Code: |
#TRIGGER {({@group}) *{hits|misses|massacres|scratches|tries to backstab|places({a|some|the})|TERMINATES}} {assist %1} autojoin |
or would it be
Code: |
#TRIGGER {({@group}) *{hits|misses|massacres|scratches|tries to backstab|places {a|some|the}|TERMINATES}} {assist %1} autojoin |
Thx,
K |
|
|
|
Einder Novice
Joined: 03 Jan 2008 Posts: 48
|
Posted: Fri Oct 07, 2011 6:28 pm |
What your looking for Karac should look more like this
Code: |
#TRIGGER {@tank *{injure|slashes|pounds|blasts|pierces|whips|crushes|misses|tickles|hits|bruises|injures|blindly,|frenzied,|massacres|OBLITERATES|LIQUIFIES|PULVERIZES|ANNIHILATES|TERMINATES|ATOMIZES|dodges|parries}} {assist @tank} |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|