i needs help with irc stuff
#1

guys im trying to add both a irc admin channel and a vip irc channel, i got them working but, the irc bots tho there all going in to all 3 irc channels, i want one bot in one irc channel one in irc admin channel and one in vip irc channel, i dont want all 3 dam irc bots to be going in to the same irc channels, i want them to be separated, here is my code so far http://pastebin.com/BnHZZ3ij if any one can help me i would really appreciate it thanks guys
Reply
#2

erm try this
PHP код:
public IRC_OnConnect(botidip[], port)
{
    if(
botid == gIRCBots[0])//bot 1
    
{
        
IRC_JoinChannel(botidIRC_CHANNEL);
           
IRC_AddToGroup(gIRCGroups[0], botid);
    }
    else if(
botid == gIRCBots[1])//admin bot
    
{
        
IRC_JoinChannel(botidIRC_ADMIN_CHANNEL);
        
IRC_AddToGroup(gIRCGroups[1], botid);
    }
    else if(
botid == gIRCBots[2])//vip bot
    
{
        
IRC_JoinChannel(botidIRC_VIP_CHANNEL);
        
IRC_AddToGroup(gIRCGroups[2], botid);
    }

Reply
#3

Quote:
Originally Posted by xTURBOx
Посмотреть сообщение
erm try this
PHP код:
public IRC_OnConnect(botidip[], port)
{
    if(
botid == gIRCBots[0])//bot 1
    
{
        
IRC_JoinChannel(botidIRC_CHANNEL);
           
IRC_AddToGroup(gIRCGroups[0], botid);
    }
    else if(
botid == gIRCBots[1])//admin bot
    
{
        
IRC_JoinChannel(botidIRC_ADMIN_CHANNEL);
        
IRC_AddToGroup(gIRCGroups[1], botid);
    }
    else if(
botid == gIRCBots[2])//vip bot
    
{
        
IRC_JoinChannel(botidIRC_VIP_CHANNEL);
        
IRC_AddToGroup(gIRCGroups[2], botid);
    }

xTURBOx i loves you bro no homo ty sooooooooo much +Rep for the help thank you sooooooo much for the help bro from Tom_Fox.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)