Im a IrcOP on some private network.
I am getting tons and tons of server invite notices, for exm:

[19:30] *kick.bounceme.net(@#help)* Bot45 invited Bot56 into the channel.

im getting them in the channel windows the people get invited in and in the active window also. Is there a way to /halt them with a remote script.

for exm:

on ^*:snotice:{ echo -s $1- | haltdef }

but this doesnt work, and i tried other things also confused

can somebody help me out. And thx in advance.