Using:
- Event
ChatWnd_ReceiveMessage
- Func
ChatWnd::SendMessage
There is no on/off switch. I want you to try out Plus! scripting and create a boolean variable.
JScript code:
var messages = new Array(), i=0;
messages[0] = "First Message";
messages[1] = "Second Message";
messages[2] = "Third Message";
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message){
if(Origin != Messenger.MyName){
if(i == messages.length)i=0;
ChatWnd.SendMessage(messages[i++]);
}
}