prog

cubix.conf

Oct 2nd, 2010
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /***************************
  2. * Cubix Configuration file *
  3. ***************************/
  4.  
  5. bot.nickname = 'cubix';
  6. bot.username = 'prog';
  7. bot.realname = 'cubix v7.0 with realtime extensions';
  8.  
  9. app.baseTimer = 1500;
  10. app.charsPerTick = 60;
  11. app.commandsPerTick = 1;
  12. app.ctcpsPerTick = 1;
  13. app.linesPerTick = 1;
  14. app.commandPrefix = '.!';
  15.  
  16. net.vhost = 'aurorachild';
  17.  
  18. function onstart()
  19. {
  20.   irc.connect('us.undernet.org', 6667);
  21. }
  22.  
  23. function onend()
  24. {
  25.   irc.quit('Boooom!');
  26. }
  27.  
  28. function onconnect()
  29. {
  30.   irc.raw("join #cubix");
  31. }
  32.  
  33. function onraw()
  34. {
  35.   if (numeric == 433 && !bot.connected)
  36.   {
  37.     irc.raw('NICK ' + bot.nickname + '`' + Math.floor(Math.random() * 1000));
  38.   }
  39. }
  40.  
  41. function ontext()
  42. {
  43.   chan.msg(text);
  44. }
Add Comment
Please, Sign In to add comment