that should have been $opnick sorry.. $nick refers to the person who did the op'ing.

and fyi, $snick refers to a nickname that is selected, i.e. in the nicklist.