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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Help
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Sat 14 Feb 2004 07:45 PM (UTC) |
| Message
| Sure, that is easy.
Make a trigger:
Match: * attacks you with weapon
Send: %1
Send to: variable:
Variable: target |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 14 Feb 2004 10:12 PM (UTC) |
| Message
| No, that was a "fill in the boxes" example. The copy-and-paste one looks like this:
<triggers>
<trigger
enabled="y"
match="* attacks you with weapon"
send_to="9"
sequence="100"
variable="target"
>
<send>%1</send>
</trigger>
</triggers>
However that needs to exactly match. For instance if it is "Bob the Terrible attacks you with weapon" or "Bob the Terrible attacks you with a sword" then you need to change the trigger match a little bit.
For instance, the "match" part might be better as:
match="* attacks you with *"
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Sun 15 Feb 2004 02:11 AM (UTC) |
| Message
| | The XML code above should have checked the "enable" box which should be all you need. Press the "help" button to find out what the other ones do. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
9,327 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top