Just add something like:

Code:
set -u2 %x.nick $nick


And use:

Code:
mode #channel +o %x.nick


Instead of $gettok($1,1,33).