void end(obj_id self) { debugSpeakMsg(self, "Testing of RemoteDebug messages has finished"); } void start(obj_id self) { debugSpeakMsg(self, "Testing of RemoteDebug messages has begun"); } trigger OnAttach() { start(self); return SCRIPT_CONTINUE; } trigger OnDetach() { end(self); return SCRIPT_CONTINUE; } trigger OnHearSpeech(obj_id speaker, string text) { string[] words = split( text, ' ' ); if ( words[0].equals("sendhi" )) { printChannelMessage("GameServer", "hi"); } if ( words[0].equals("sendyo" )) { printChannelMessage("GameServer\\Script", "yo"); } if (words[0].equals("sendsup" )) { printChannelMessage("GameServer\\Script\\Sup", "sup"); } return SCRIPT_CONTINUE; }