Just as a side note, if you DONT want it to trigger when YOU join your own channel, you can use the ! prefix like so:

Code:
on !*:join:#chan:/msg $nick message


Those who fail history are doomed to repeat it