guest598594 commented on a Page, Am I an op?  -  Aug 23, 2008

Sox, I would use elseifs.

if ($nick isop $chan) {
elseif ($nick ishop $chan) {
elseif ($nick isvoice $chan) {

Because you could be op and voice, and it'll say "yes you are op. no you are voice".

Oh and you don't need the else { halt }.

 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.