If you just want to store the regular nick, you can use a regsubex that just tokenize the regular nick :

raw *:353:tokenize 32 $regsubex($4-,/((@|%|\+).\S+)/g,) | write nicks.txt $*


#mircscripting @ irc.swiftirc.net == the best mIRC help channel