script.js 175 B

12345678
  1. hook('message',function(msg,from,room){
  2. if(msg =='funny'){
  3. $o.chat.send('Not funny',room);
  4. }
  5. });
  6. hook('send',function(msg,room){
  7. return msg.toLowerCase()!='the game';
  8. });