Gagging players

Frequently asked question — MUSHclient

Question

How do I gag annoying players?

Answer

You can do this easily using a trigger. Just match on what is needed to identify the annoying player, and check "omit from output". This will stop the matching line from appearing in your output window.

There are a few ways of matching on the name of the player(s) in question. A simple one is to simply specify the player name, like this:


Match on: Zayldan
Omit from output: checked
Regular expression: checked

This would match "Zayldan" anywhere in the line. The only disadvantage to this is that it would match on messages about Zayldan as well as from him.

A better way might be:


Match on: ^Zayldan (says|pages)
Omit from output: checked
Regular expression: checked

This would match on any line starting with Zayldan (that is what the "^" means), followed by "says" or "pages".

Gagging multiple players

To gag multiple players, you can use the "or" symbol in a regular expression. For example, to gag Zayldan, Vudric and Haoen, you could make this trigger:


Match on: ^(Zayldan|Vudric|Haoen) (says|pages)
Omit from output: checked
Regular expression: checked