I stand corrected, this error message does exist in plus
specifically for the /me command. I tried it with /all.
Working code *should* be:
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
var mCommand = new Array();
mCommand = Message.split(' ');
if (mCommand[0] == '/act'){
Debug.Trace("Recognized");
var nick = Messenger.MyName;
var msg = "/me ";
Messenger.MyName = mCommand[1];
for (i = 2; i < mCommand.Length; i++) {
msg += mCommand[i];
}
MsgPlus.AddTimer("restoreNick", 100);
return msg;
} else { Debug.Trace("Not Recognized"); }
}
edit: didn't see matty had posted the correction as well..nevermind