$nick($chan,0,r) is usually the same as $nick($chan,0,a,ovh), which means: "all users, except ops, voices and halfops/helpers). Of course there is the admin in some networks, just like I said before, but I'm just going by the default parameters in the help file. Due to this possible discrepancy, you should use $nick($chan,0,r).

$nvnick() looks for non-voiced people, which isn't the same thing (someone who isn't voiced could be an op, or a halfop/helper, or an admin, etc).
Edit: oops, I guess I was wrong about $nvnick()... I assumed it was about non-voiced users. You see, deprecated identifiers ($nvnick(), $onick(), etc.) do that to some people. One more issue related to what RusselB just said below. I think you should use $nick().

Last edited by cold; 28/12/06 05:20 AM.

* cold edits his posts 24/7