If the format of the line containing the nick is the one you said above (nickname-word(s)), you can use this instead of $1: $gettok($1-,1,45)

This will pick up the 1st word before the dash (-), which, according to the format above, is the nick.

BTW, nice work around smile

Zyzzyx.


"All we are saying is give peace a chance" -- John Lennon