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
➜ Regular expression query for a trigger
Regular expression query for a trigger
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Rowane
(3 posts) Bio
|
Date
| Tue 26 Jul 2005 12:07 PM (UTC) |
Message
| Hey folks,
Is it possible for me to match one trigger that matches all of these variabilities:
You devastate (some mob with a single name) with your remarkable claw!
You pulverize (some mob with a single name) with your claw.
You massacre (some mob with a short description) with your claw.
You obliterate (some mob with a short description) with your horrific claw!
You claw (some mob with a short description) noticeably.
You claw (some mob with a short description) with force.
You claw (some mob with a short description) extremely hard.
You claw (some mob with a short description) hard.
You hardly claw (some mob with a short description).
You assault (some mob with a short description) with an astonishing claw.
I've tried to just get one of these variables to set off the trigger by using "^You devastate\: .+$" but it doesn't work, not sure why.
I'd like to have the trigger send to the world the name of whatever I'm attacking, i.e., (any mob with a single name like "Bob" or "Tom") or (some mob with a short description like "A short man with a missing eye", etc.)
Any help would be great.
Thanks!
| Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Tue 26 Jul 2005 02:57 PM (UTC) |
Message
| Do the lines have colons or not? Since, your original lines don't, but you tried to match on it for some reason. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | 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.
11,114 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top