$gettok($6,%lo,1)

Is the token $chr(1) the correct token you want to use?

I'd think there's an easier way to check for IRCop but we all use different networks.

What about that raw that says: $nick looks usefull!