[IRCServices Coding] Sending privmsg/notice

Andrew Church achurch at achurch.org
Mon Jan 16 20:15:06 PST 2006


>  I want to send privmsg/notice to all online Opers. How I can
>get list of users who have mode +o enabled? (in separate module I
>mean)

     Iterate through the user list with first_user() and next_user(), and
use is_oper() to check whether the user is an oper or not.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/