Trigger help please

Posted by Adam Petersen on Thu 13 Feb 2003 12:09 AM — 7 posts, 25,167 views.

#0
ok i have a few questions:

1. i need to do this
(Channel): Someone says, "Deliver?."
and id go Perform Deliverance Someone
how do i get that to work?

2. i want a sound to play whenever someone sends me a tell:
person tells you, "message"
and i cant figure it out, please help
Russia #1
Can't help you with the 2nd question - haven't used sounds so far. But with the 1st I can

Make a trigger to match on:

(Channel) * says, "Deliver?."

In the Send field put:

Perform Deliverance %1


Explanation:

%1 in the Send stands for the first wildcard (* in the trigger). So if you wanted to manipulate a line:

A quick fox jumps over a high fence.

And had a trigger matching on:

A quick * jumps over a * *.

The *'s in that trigger could be represented in the Send field as %1, %2, %3. In our example %1 would be 'fox', %2 - 'high', and %3 - 'fence'.
Australia Forum Administrator #2
For the sound, make a trigger that matches on 'person tells you, "*" ', and then browse for a sound to play. The trigger might look like this:


<triggers>
  <trigger
   custom_colour="5"
   enabled="y"
   match="Person tells you, &quot;*&quot;"
   sequence="100"
   sound="C:\WINDOWS\MEDIA\ding.wav"
  >
  </trigger>
</triggers>


#3
for the second one Person is the * i need so id need 2 * and %1 and %2? and for the first one it dosnt work, i tried
Russia #4
Erm, try this one:

(Channel): * says, "Deliver?."


Looks like I missed the colon the first time around.
#5
how do i make the tells trigger work for more then one line?
Russia #6
Amend the trigger that Nick provided to read:

<triggers>
<trigger
custom_colour="5"
enabled="y"
match="* tells you, &quot;*&quot;"
sequence="100"
sound="C:\WINDOWS\MEDIA\ding.wav"
>
</trigger>
</triggers>

And you already answered your own question: you'll need to use %1 and %2 in the Send field, if you want to send anything to the world. %1 will stand for 'Person', %2 - the tell text.