//this is a comment, it does nothing but allows dt to talk to you :P
//this is called when our script starts
function OnEvent_Initialize(MessengerStart){
//shows a message in the debug console
Debug.Trace("Hello World debug");
}
//this is called when our script ends
function OnEvent_Uninitialize(MessengerExit){
}
function OnEvent_ChatWndReceiveMessage(wnd, origin, message, messageKind){
// when someone sends you Hello Word! you will reply with :--o hello world
if(message == "Hello World!"){
wnd.SendMessage(":--o hello world");
}
}