30.09.2009, 17:23
You could use this plugin
http://forum.sa-mp.com/index.php?topic=123777.0
And with IRC_OnUserJoinChannel(botid, channel[], user[], host[]) and set a 5 second timer and then check if he's an op. If yes, then make something like OnlineOps++; and if its positive, one or more ops are online. The timer is required because the callback is probably called at the point of a user connect, when the user has no mode yet.
Also, there is no possible way to loop through users
http://forum.sa-mp.com/index.php?topic=123777.0
And with IRC_OnUserJoinChannel(botid, channel[], user[], host[]) and set a 5 second timer and then check if he's an op. If yes, then make something like OnlineOps++; and if its positive, one or more ops are online. The timer is required because the callback is probably called at the point of a user connect, when the user has no mode yet.
Also, there is no possible way to loop through users