Skip to content

Instantly share code, notes, and snippets.

@dennorske
Created September 7, 2016 20:56
Show Gist options
  • Save dennorske/a868e9fe2542d5db443aa9360b59e873 to your computer and use it in GitHub Desktop.
Save dennorske/a868e9fe2542d5db443aa9360b59e873 to your computer and use it in GitHub Desktop.
//place this at the top with the other "new's" in the script.
new BotIndexer;
//place this at the bottom.
stock Say(channel[], text[])
{
if(!strlen(text) || !strlen(channel))
return 1;
if(botindexer == 4)
botindexer = 0;
IRC_Say(botindexer, channel, text);
botindexer ++;
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment