Shoutbox

[HELP] Problem with a command. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [HELP] Problem with a command. (/showthread.php?tid=92111)

[HELP] Problem with a command. by DjSt3rios on 09-04-2009 at 08:34 AM

Hello, i have a problem. I Made a script, but when i type the command to work the script, It says the command its not recognized BUT the script works.

So... The command works.. but i just see this stupid message :P

Anyone knows why?


RE: [HELP] Problem with a command. by matty on 09-04-2009 at 12:44 PM

Well there are a few possible explanations. Without seeing your code I don't know what scenario is going to be yours but here are two potential ones.

OnEvent_ChatWndSendMessage () you need to return '';. If you do not the command gets passed onto the Messenger Plus! command interpreter and therefore because it is not a valid Plus! command it provides the message.

Secondly and least likely is that the command is not defined OnGetScriptCommands.

Post your code and we can have a better look.