Setting IRC Bots as Admins
#1

This is what in the IRC script

PHP код:
public IRC_OnConnect(botid)
{
    new 
string[256];
    
printf("*** IRC_OnConnect: Bot ID %d connected!"botid);
    
// Join the channel
    
if(botid == || botid == 2)
    {
        
IRC_JoinChannel(botidIRC_CHANNEL);
        
format(string,sizeof(string),"PRIVMSG NickServ :identify %s",IRC_BOT_PASSWORD);
        
IRC_SendRaw(botidstring);
        
IRC_AddToGroup(gGroupIDbotid);
    }
    if(
botid == 3)
    {
        
format(string,sizeof(string),"PRIVMSG NickServ :identify %s",IRC_BOT_PASSWORD);
        
IRC_SendRaw(botidstring);
        
format(string,sizeof(string),"JOIN %s :%s",IRC_ADMINCHANNEL,IRC_ADMINCHANNEL_PASSWORD);
        
IRC_SendRaw(botidstring);
        
IRC_AddToGroup(gGroupAdminIDbotid);
    }
    
// Add the bot to the group
    
return 1;

but when i try /cs access #igzls add LSCNR 3 it says Channel access lists may only contain registered nicknames.
Reply


Messages In This Thread
Setting IRC Bots as Admins - by nor15 - 30.06.2013, 17:57
Re: Setting IRC Bots as Admins - by nor15 - 30.06.2013, 23:12
Re: Setting IRC Bots as Admins - by Kirollos - 30.06.2013, 23:15
Re: Setting IRC Bots as Admins - by Kurzalewski - 30.06.2013, 23:21
Re: Setting IRC Bots as Admins - by jackci - 01.07.2013, 00:19
Re: Setting IRC Bots as Admins - by Zex Tan - 01.07.2013, 03:50

Forum Jump:


Users browsing this thread: 1 Guest(s)