A squelch script is pretty easy to make.
Code:
squelch_list = /EXAMPLE 1 HERE|EXAMPLE 2 HERE|EXAMPLE 3 HERE/
silence = proc {
action = proc { |server_string|
if server_string.strip.length == 0
nil
else
new_string = strip_xml(server_string)
if new_string =~ squelch_list
nil
else
server_string
end
end
}
DownstreamHook.add("#{script.name}_silence", action)
}
before_dying{ DownstreamHook.remove("#{script.name}_silence") }
silence.call
sleep
Then just fill in the game lines you don't want to see where all of those EXAMPLEs are. Separate each game line with the pipe symbol |
When you want to stop squelching those game lines just stop the script.
For example:
squelch_list = /Bob traces a sign while petitioning the spirits for cognition...|Bob gestures.|A dim aura surrounds Bob./
If you want to ignore several people with these lines do something like:
squelch_list = /(Bob|Jim|Jane) traces a sign while petitioning the spirits for cognition...|(Bob|Jim|Jane) gestures.|A dim aura surrounds (Bob|Jim|Jane)./
If you want to ignore EVERYONE for those game lines, do this:
squelch_list = /[a-zA-Z]+ traces a sign while petitioning the spirits for cognition...|[a-zA-Z]+ gestures.|A dim aura surrounds [a-zA-Z]+./