First, very nice snippet(s) (both work just fine). But I have a question: is it possible to add some check if $nick is opped/voiced/halfopped? That way only those without +o/v/h get the mode. I hope you get what I mean.
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.