Documentation

#GAG

GAG

Syntax: #GA pattern|number
Related: #UNGAG, #GAGON, #GAGOFF, #GAGBLOCK

If the pattern is omitted, this command deleted the last line received from the server. If pattern is included, any line from the server matching the pattern is deleted from the input screen. This allows you to remove text that you don't want to see. The last syntax is equivalent to #TRIGGER pattern {#GAG}.

The numeric argument to the GAG command specifies the number of lines to GAG. If the number is omitted, a single line is gagged. If the number is negative, the indicated number of lines prior to the current trigger line are gagged.

GAG examples

#GA
removes the last line received from your screen.
#GA Zugg
removes any lines received from the server containing the string Zugg
#GA gossips
removes any lines received from the server containing the string gossip.
#TRIGGER {chat} {#GAG 2}
removes any line containing the string "chat" along with the next line.
#TRIGGER {chat} {#GAG -1}
removes the line prior to any line containing the string "chat"

Add comment

Login or register to post comments