Gagging messages

Text on the screen you don't want to see? Gag it!
Use triggers to locate what you don't want to see and get rid of it.
For example:
A large sign with info for newbies has been placed here.
would trigger off of that sentence in mud. Then to gag:
deleteLine()
That's it! You'll never have to see that sentence again as long as the trigger is activated. Someone annoying you in chat? Use a trigger!
Soandso tells you (change the option to beginning of line substring)
deleteLine()
You can echo to let yourself know if you want to.
echo("Annoying player sent you a message")
You can even replace the text if you want to get more fancy.
Trigger : A large sign with info for newbies has been placed here.
Code:
selectString( "A large sign with info for newbies has been placed here.", 1 )
replace( "The only thing left of this defaced sign is a spray painted smiley face." )
Check the manual for different ways to trigger text:
http://wiki.mudlet.org/w/Manual:Trigger_Engine
Use triggers to locate what you don't want to see and get rid of it.
For example:
A large sign with info for newbies has been placed here.
would trigger off of that sentence in mud. Then to gag:
deleteLine()
That's it! You'll never have to see that sentence again as long as the trigger is activated. Someone annoying you in chat? Use a trigger!
Soandso tells you (change the option to beginning of line substring)
deleteLine()
You can echo to let yourself know if you want to.
echo("Annoying player sent you a message")
You can even replace the text if you want to get more fancy.
Trigger : A large sign with info for newbies has been placed here.
Code:
selectString( "A large sign with info for newbies has been placed here.", 1 )
replace( "The only thing left of this defaced sign is a spray painted smiley face." )
Check the manual for different ways to trigger text:
http://wiki.mudlet.org/w/Manual:Trigger_Engine