|
@@ -1,12 +1,12 @@
|
|
|
-hook('message',function(msg,from,room,source){
|
|
|
+hook('message',function(msg,from,room,origin){
|
|
|
if(msg =='funny'){
|
|
|
$o.event('test','yay');
|
|
|
- $o.chat.send(source,room);
|
|
|
+ $o.chat.send(origin,room);
|
|
|
}
|
|
|
});
|
|
|
-hook('send',function(msg,room){
|
|
|
+/*hook('send',function(msg,room){
|
|
|
return msg.toLowerCase()!='the game';
|
|
|
-});
|
|
|
+});*/
|
|
|
hook('start',function(){
|
|
|
$('body').show();
|
|
|
});
|