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
➜ Omiting only Matching Keywords on a Trigger from Output
|
Omiting only Matching Keywords on a Trigger from Output
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Chik
(10 posts) Bio
|
| Date
| Sun 29 Jul 2012 02:31 AM (UTC) |
| Message
| Hi,
How can I gag only the matching string on a trigger from the output? If I check omit from the output, the entire line that contains the keywords disappears. I just want the matching words to be disappeared from the line. | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Sun 29 Jul 2012 03:49 AM (UTC) |
| Message
| | You have to omit the line and re-print it without the word. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Chik
(10 posts) Bio
|
| Date
| Reply #2 on Sun 29 Jul 2012 09:50 PM (UTC) |
| Message
| What's the best way to do that?
Process the entire triggered line (%0) with replacing the keywords with "" and send back to the output with note()?
Thanks, | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #3 on Sun 29 Jul 2012 11:29 PM (UTC) |
| Message
| | best is subjective |
https://github.com/fiendish/aardwolfclientpackage | | 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.
13,993 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top