Jethro commented on a Page, Website Blocker [ updated]  -  May 28, 2011

AmytiX, $vnick and $opnick can only be used in conjunction with the voice and op event. You can't use them under a text event and expect them to be excluded.

You should either use:

if ($nick isop $chan) { halt }
if ($nick isvoice $chan) { halt }

Or:

if ($nick($chan,@%)) {

Or:

if ($nick($chan,oh)) {

You should use the iswm operator like Burrito said...or isin will do it too.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.