21.08.2013, 05:23
Suggestion
- IRC_GroupCount(groupid); - Gets the total amount of members in a grouppawn Код:
native IRC_GroupCount(groupid);
native IRC_IsUserOnConnected(botid, const user[]); // or something?
Possible Usage
pawn Код:
public IRC_OnDisconnect(botid, ip[], port, reason[])
{
if(IRC_GroupCount(gIRCGroupChatID) == 0) // Ping Timeout
{
ConnectAllIRCBots();
}
return 1;
}