Skip to content

Instantly share code, notes, and snippets.

@dennorske
Created November 4, 2014 18:13
Show Gist options
  • Save dennorske/0148ab7af1186ea8df0a to your computer and use it in GitHub Desktop.
Save dennorske/0148ab7af1186ea8df0a to your computer and use it in GitHub Desktop.
public IRC_ConnectDelay(tempid)
{
switch (tempid)
{
case 1:
{
// Connect the first bot
gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
}
case 2:
{
// Connect the second bot
gBotID[1] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_2_NICKNAME, BOT_2_REALNAME, BOT_2_USERNAME);
}
case 3:
{
// Connect the admin bot
gBotID[2] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_3_NICKNAME, BOT_3_REALNAME, BOT_3_USERNAME);
}
case 4:
{
// Connect the fourth bot
gBotID[3] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_4_NICKNAME, BOT_4_REALNAME, BOT_4_USERNAME);
}
}
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment