Bah, my fault, guess thats whatcha get for not thinking while coding, use Milosh's example above and you should be fine.

tidy_trax; $6 would be correct for the on-connect SNOTICE but it is $2 for the on-whois one.

Eamonn.