Originally Posted by
Maerit
Hmm, I think your script is too smart for me, so I can't identify which areas of the script I have to copy to squelch all the spell active lines.
Well I never!!!!!!!!!!!!!!!!!!!!
Code:
silence = proc {
action = proc { |server_string|
if server_string =~ /Elemental Defense II .|Elemental Defense III ./
nil
else
server_string
end
}
DownstreamHook.add("#{script.name}_silence", action)
}
silence.call
Just do something like that so whenever, for example, "Elemental Defense II ." appears in the game it will be automatically squelched. You can make it less sensitive, like just whenever "Elemental Defense" pops up on the screen it will be squelched (so you don't need to do Elemental Defense, Elemental Defense II, and Elemental Defense III), but then you run into the risk of a game line you actually want to see being squelched.