Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /***************************
- * Cubix Configuration file *
- ***************************/
- bot.nickname = 'cubix';
- bot.username = 'prog';
- bot.realname = 'cubix v7.0 with realtime extensions';
- app.baseTimer = 1500;
- app.charsPerTick = 60;
- app.commandsPerTick = 1;
- app.ctcpsPerTick = 1;
- app.linesPerTick = 1;
- app.commandPrefix = '.!';
- net.vhost = 'aurorachild';
- function onstart()
- {
- irc.connect('us.undernet.org', 6667);
- }
- function onend()
- {
- irc.quit('Boooom!');
- }
- function onconnect()
- {
- irc.raw("join #cubix");
- }
- function onraw()
- {
- if (numeric == 433 && !bot.connected)
- {
- irc.raw('NICK ' + bot.nickname + '`' + Math.floor(Math.random() * 1000));
- }
- }
- function ontext()
- {
- chan.msg(text);
- }
Add Comment
Please, Sign In to add comment