IRC help
#1

I m making IRC group for different levels but I stuck here please help me

Код:
if(IRC_IsHalfop(botid, IRC_CHANNEL, user))
    {
        IRC_AddToGroup(HOPgID, botid);
    }
    else if(IRC_IsOp(botid, IRC_CHANNEL, user))
    {
        IRC_AddToGroup(HOPgID, botid);
        IRC_AddToGroup(AOPgID, botid);
    }
    else if(IRC_IsAdmin(botid, IRC_CHANNEL, user))
    {
        IRC_AddToGroup(HOPgID, botid);
        IRC_AddToGroup(AOPgID, botid);
        IRC_AddToGroup(SOPgID, botid);
    }
    else if(IRC_IsOwner(botid, IRC_CHANNEL, user))
    {
        IRC_AddToGroup(HOPgID, botid);
        IRC_AddToGroup(AOPgID, botid);
        IRC_AddToGroup(SOPgID, botid);
    }
On which callback we need to set like this. Or there is better way to do it?

Please help me
Reply


Messages In This Thread
IRC help - by MA_proking - 18.05.2013, 13:11
Re: IRC help - by MA_proking - 21.05.2013, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)