IRC Script
#1

This shit spam my IRC , and i dunno how to stop it

PHP код:
public IRC_ConnectDelay(tempid)
{
    switch (
tempid)
    {
        case 
1:
        {
            
// Connect the first bot
            
gBotID[0] = IRC_Connect(IRC_SERVERIRC_PORTBOT_1_NICKNAMEBOT_1_REALNAMEBOT_1_USERNAME);
        }
        case 
2:
        {
            new 
string[128];
            
// Connect the second bot
            
gBotID[1] = IRC_Connect(IRC_SERVERIRC_PORTBOT_2_NICKNAMEBOT_2_REALNAMEBOT_2_USERNAME);
            
IRC_GroupSay(gGroupIDIRC_CHANNEL,"5#####################################");
            
format(string,sizeof(string),"5%s (%s)",sabbv,svname);
            
IRC_GroupSay(gGroupIDIRC_CHANNEL,string);
            
format(string,sizeof(string),"5Version %s",sversion);
            
IRC_GroupSay(gGroupIDIRC_CHANNEL,string);
            
IRC_GroupSay(gGroupIDIRC_CHANNEL,"5The sexual Gamemode.");
            
IRC_GroupSay(gGroupIDIRC_CHANNEL,"5#####################################");
        }
        case 
3:
        {
            
// Connect the admin bot
            
gBotID[2] = IRC_Connect(IRC_SERVERIRC_PORTBOT_3_NICKNAMEBOT_3_REALNAMEBOT_3_USERNAME);
        }
    }
    return 
1;

Reply
#2

Are the bots able to successfully connect? If not then remove the IRC_GroupSay text.
Reply
#3

Quote:
Originally Posted by Joshman543
Посмотреть сообщение
Are the bots able to successfully connect? If not then remove the IRC_GroupSay text.
They come to IRC but in the server Logs it says
Код:
[21:20:51] *** IRC_OnDisconnect: Bot ID 3 attempting to reconnect...
[21:21:30] *** IRC_OnDisconnect: Bot ID 1 disconnected!
[21:21:30] *** IRC_OnDisconnect: Bot ID 1 attempting to reconnect...
[21:21:38] *** IRC_OnDisconnect: Bot ID 2 disconnected!
[21:21:38] *** IRC_OnDisconnect: Bot ID 2 attempting to reconnect...
[21:21:51] *** IRC_OnDisconnect: Bot ID 3 disconnected!
[21:21:51] *** IRC_OnDisconnect: Bot ID 3 attempting to reconnect...
Reply
#4

can anyone help ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)