Baggins
Full Member
B000ALFAZO
Posts: 387 Reputation: 13
29 / /
Joined: Oct 2006
|
RE: RE: [Question] Messenger Plus! Commands
quote: Originally posted by Plan-1130
It's because you didn't return anything, the code below should fix it...
code: function OnEvent_ChatWndSendMessage(ChatWnd,Message) {
if (Message.charAt(0) == "/") {
if (Message.charAt(1) == "/") {
return Message;
}else{
if (Message.charAt == " ") {
if (Message.charAt(7) != "") {
Shell.ShellExecute(Message.substr(7));
return "";
}
}
}
}
}
and also do this
|
|