Handle nick collisions, and wrote NUM command module