Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Trigger help please
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Adam Petersen
(17 posts) Bio
|
Date
| Thu 13 Feb 2003 12:09 AM (UTC) |
Message
| 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 | Top |
|
Posted by
| Ked
Russia (524 posts) Bio
|
Date
| Reply #1 on Thu 13 Feb 2003 06:45 AM (UTC) |
Message
| 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'. | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #2 on Thu 13 Feb 2003 11:41 PM (UTC) |
Message
| 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, "*""
sequence="100"
sound="C:\WINDOWS\MEDIA\ding.wav"
>
</trigger>
</triggers>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Adam Petersen
(17 posts) Bio
|
Date
| Reply #3 on Fri 14 Feb 2003 01:47 AM (UTC) |
Message
| 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 | Top |
|
Posted by
| Ked
Russia (524 posts) Bio
|
Date
| Reply #4 on Fri 14 Feb 2003 07:27 AM (UTC) |
Message
| Erm, try this one:
(Channel): * says, "Deliver?."
Looks like I missed the colon the first time around. | Top |
|
Posted by
| Adam Petersen
(17 posts) Bio
|
Date
| Reply #5 on Sat 15 Feb 2003 03:22 AM (UTC) |
Message
| how do i make the tells trigger work for more then one line? | Top |
|
Posted by
| Ked
Russia (524 posts) Bio
|
Date
| Reply #6 on Sat 15 Feb 2003 11:54 AM (UTC) |
Message
| Amend the trigger that Nick provided to read:
<triggers>
<trigger
custom_colour="5"
enabled="y"
match="* tells you, "*""
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.
| Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
18,265 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top