Hyperlink_URL2 plugin sometimes makes client gags ineffective

Posted by Silverwind on Mon 25 May 2015 11:28 AM — 5 posts, 23,024 views.

#0
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.
Australia Forum Administrator #1
Can you explain "interferes with" a bit more?

Also please post your triggger(s).

Template:copying
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.
#2
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>
Australia Forum Administrator #3
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>


Template:pasting
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.
#4
That works perfectly! Thanks very much.