SA-MP Forums Archive
IRC help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IRC help (/showthread.php?tid=438050)



IRC help - MA_proking - 18.05.2013

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


Re: IRC help - MA_proking - 21.05.2013

24 hours Bump

Really need help