Gag function?

Posted by LucianDK on Sun 10 Jul 2016 03:43 PM — 6 posts, 28,101 views.

#0
I am wondering if theres an inbuilt @gag function that can completely remove output from characters I dont wish to have anything to do with.

So far ive been making do with coloring their sayings black, but that leaves jarring empty lines in the muck chatter.

Can you help me?
USA #1
Is there not a server side ignore function?

As for something built in, not that I'm aware of, though it should be fairly simple to match a regex based on the names of the people you're hoping to ignore and remove any output from them. As a side note, it's probably best to do that at the packet level or not work with the main output screen as your primary interface.
Australia Forum Administrator #2
There is not an inbuilt @gag as such, but you can make an trigger that "omits from output".

I think Fiendish was working on a generic @gag feature.

There is an old plugin "Gag" that ships with MUSHclient that gags players. It's old because it is written in VBscript. :)

Try using that. From the plugin help:


gag (player)      <-- gags a player

eg. gag turkey

ungag (player)    <-- ungags a player

eg. ungag turkey

gagshow           <-- shows list of gagged players

gaginfo           <-- shows information about the gag plugin

gaghelp           <-- show this information
#3
Tested it, doesnt seem to work.

1:
gag Kesslan

2
It gags kesslan

3
He is still able to write me, which i suspect is because it doesnt respect names beginning with uppercase letters.


To meerclar: While tapestries muck have whisper and page ignores, it doesnt block public output from players you dont want to have anything to do with, if they are in the same room as you.
Amended on Sun 10 Jul 2016 09:50 PM by LucianDK
Australia Forum Administrator #4
Edit the plugin (hit the Edit button in the plugin list). Add another line (ignore_case="y") as shown in bold below.




<triggers>
  <trigger
   custom_colour="1"
   enabled="n"
   ignore_case="y"
   match="will be replaced when you gag someone"
   name="gags"
   omit_from_output="y"
   regexp="y"
   sequence="100"
  >


Save your changes, then highlight that plugin in the plugin list and hit the Reinstall button.
#5
Tested it after making your alteration, not functional.

gag Kesslan
kesslan added to list of gagged players.

They were still able to speak.


However I stumbled upon this thread with instructions for how to make a trigger to remove someone's output and it works.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2

A pleasure to be able to remove this irritant from my sight forever.