I want to make a script that, when someone enters in a message containing a specified string, removes the offending line. My main objective is to remove join/quit messages for SPECIFIC users. Perhaps there is an easier way to do this?

So far, I have something like an event handler:

on *:TEXT:*** TrAnSiEnT:# ;clear line

Where TrAnSiEnT is the name of the offending user.

My first line of irc script ever, so do I have the right idea?