 |
Loftaris Adept
Joined: 24 Aug 2004 Posts: 277
|
Posted: Sun Oct 10, 2010 8:13 pm
Help with a trigger |
Cmud Pro 3.26
Windows 7
I have the following trigger, but I need to figure out how to make it ignore a specific name.
Code: |
<trigger name="tell1" priority="9530" regex="true" id="953">
<pattern>^(?:>\s|)(You tell \w+|\w+(?
<value>:Tells:#sayprompt {%cr%ansi( bold, blue)""%ansi( bold, magenta)"["%1"]: "%ansi( bold, grey)%2}</value>
<trigger type="Loop Pattern" regex="true" prompt="true">
<pattern>^ +(?:LT\:)?(.*)$$</pattern>
<value>:Tells:#print {%ansi(bold,grey)" "%1}</value>
</trigger>
</trigger>
|
I have YOURPET a variable of Tibban, but it doesn't work. I've tried a few things but nothing I do works...
Does anyone have any suggestions? |
|
|
 |
Moo Apprentice
Joined: 10 Apr 2009 Posts: 145
|
Posted: Sun Oct 10, 2010 9:00 pm |
One way would be to have a "You tell Tibban" trigger with a lower priority, and set it to "stop further processing". It wouldn't need to actually do anything in the trigger, but it would prevent your existing trigger from firing.
|
|
|
 |
Loftaris Adept
Joined: 24 Aug 2004 Posts: 277
|
Posted: Sun Oct 10, 2010 9:06 pm |
ROCK ON! Hey that was ingenious, thanks hehe.
|
|
|
 |
|
|
|
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
|
|