WOW! Dean is a powerfull maggot, he summoned "Hawkee" to the snippet, praises must be given xD
Also, i think the Snippet poster can, and should, remove unwanted commentary.
ontopic: $modespl = the limit of modes per line the server can handle;
instead of $str() you use $modespl($str()) (or somewhere along those lines, i dont remember it clearly 'cause im using a Kite atm)
you should, also, look at $nick in /help and read the identifier .pnick because it would cut your code in about.. half or so lines