Baggins
Full Member
B000ALFAZO
Posts: 387 Reputation: 13
29 / /
Joined: Oct 2006
|
O.P. RE: script command error - "Command Requiers Parameter"
quote: Originally posted by Matty
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"); }
}
No doesn't work
|
|