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
➜ Plugins
➜ Hyperlink_URL2 plugin sometimes makes client gags ineffective
|
Hyperlink_URL2 plugin sometimes makes client gags ineffective
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Silverwind
(13 posts) Bio
|
| Date
| Mon 25 May 2015 11:28 AM (UTC) |
| Message
| | The Hyperlink_URL2 plugin is great, but because of the way it works, it interferes with the triggers I use for gagging output from the MU* I play. Is there any way to deal with this? I've tried messing with priority but it doesn't seem to help. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Tue 26 May 2015 06:15 AM (UTC) |
| Message
| Can you explain "interferes with" a bit more?
Also please post your triggger(s).
 |
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Silverwind
(13 posts) Bio
|
| Date
| Reply #2 on Tue 26 May 2015 10:51 AM (UTC) |
| Message
| Yeah, sorry. I guess that was pretty unhelpfully vague. What happens is if a line of output that my gag trigger should catch and omit has a hyperlink in it, the gag will fail to prevent the line from being printed. I presume this is because the Hyperlink_URL2 uses Note() to print the modified lines it creates with clickable hyperlinks.
The trigger is pretty simple:
<triggers>
<trigger
enabled="y"
match="^(Name1|Name2|Name3|Name4).+$"
omit_from_output="y"
regexp="y"
sequence="1"
>
</trigger>
</triggers> | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Tue 26 May 2015 07:36 PM (UTC) |
| Message
| You might want to call StopEvaluatingTriggers from your trigger.
http://www.gammon.com.au/scripts/doc.php?function=StopEvaluatingTriggers
Like this:
<triggers>
<trigger
enabled="y"
match="^(Name1|Name2|Name3|Name4).+$"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="1"
>
<send>StopEvaluatingTriggers (true)</send>
</trigger>
</triggers>
 |
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.
|
That stops triggers in plugins from catching the line after your main world file catches it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Silverwind
(13 posts) Bio
|
| Date
| Reply #4 on Tue 26 May 2015 09:49 PM (UTC) |
| Message
| | That works perfectly! Thanks very much. | | 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.
21,778 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top