I was messing around with autogreets and realised that it wasn't working with 'elseif ($newnick == $me)'
So I tried it with "elseif ($nick == $me) msg $chan blah blah"
And I got this:
[19:04:59pm] * brb is now known as Onions
[19:04:59pm] <brb> blah blah
Weird.