When dealing with multiple nicknames, you could use:
if (!$istok(nick1 nick2 nick3,$me,32)) {
This will negate all of them. (with a space between each added)