/* class=gwtchat.server.JavascriptBot */ /* Greeting for a new user: */ function greet(chatter) { chat.say("Hello, "+chatter.name+"! I will happily repeat everything you say."); } /* Reply: */ function hear(chatter, message) { chat.say("Hey, you said '"+message+"'!"); }
Advertisement
51
pages
Advertisement