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
➜ Tips and tricks
➜ Can I get working trigger out of ********** ?
|
Can I get working trigger out of ********** ?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Potato Hot
(3 posts) Bio
|
| Date
| Fri 08 Feb 2002 11:29 PM (UTC) Amended on Sat 09 Feb 2002 02:10 AM (UTC) by Potato Hot
|
| Message
| This is the problem,
after each battle round i get new row of
*****************
the *'s separate every battle round..
Now, I wanted to create a trigger from these *** but it wont work :(
My fellow mudders who used zmud client told me that they got ~*~*~* as the trigger..
is there similar way to make the trig work?
While partying in big partys at Batmud it would be handy to give reports of current hp and sp after each round...
So can anyone change these ********* as working trigger?
Please also send me a email if you got a solution.
It will be greatly appreciated!
Thanks! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 09 Feb 2002 10:51 AM (UTC) |
| Message
| Yes you can do that. There is a problem with a simple trigger matching on asterisks, as they are a wildcard, however make it a regular expression and you will be OK.
In fact it can be nice and simple, as I gather you want to match on some number of asterisks? Thus, just match on this:
Trigger: ^\*+$
Regular expression: checked
If there are extra characters or spaces you might need to modify it a bit. What this means is ...
- ^ - match start of line
- \* - match an asterisk - the backslash "escapes" it to be an asterisk and not a wildcard or something
- + - match one or more asterisks (the previous character)
- $ - match end of line
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Potato Hot
(3 posts) Bio
|
| Date
| Reply #2 on Sat 09 Feb 2002 03:02 PM (UTC) |
| Message
| Thank you Nick!
That worked alright!
Thank you also for expalining the meaning of the the trigger characters!(I where abit lost with em too)
Back to happy mudding!
Im also recomending my favorit mud Batmud to everyone intrested.
bat.cs.hut.fi:2023
Thank you again! I don't think I would have figured this out one by myself :) | | 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.
14,784 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top