on and you could do this
(Guest* Isin $1-) && (%n == $me) {
instead of
if (Guest* Isin $1-) && ($newnick == $me) {