changed location of PRIVMSG comparison to try and speed up outputs