What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Command not found error

Command not found error
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. Undecided  Command not found error
Ok, I've got an error (seems to only happen if the command opens an interface), but whenever I type the command, I get the following error message:

'The command you entered was not recognized.
If the message was not meant to be a command, insert a double "//" at it's beginning.'

I've had the message before if theres been a problem with my scripts, but there dosent appear to be a problem. As I said, this only seems to happen if the command is used to open an interface.

Any ideas why? *-)
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2006 08:52 PM
Profile PM Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: Command not found error
Give the code that you use to check the command please :-)
08-04-2006 09:01 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: Command not found error
Right, I'll just post the script as a text file a minute because I'm not completley sure which part you want *total noob* :S




.txt File Attachment: Contact Lookup.txt (4.27 KB)
This file has been downloaded 267 time(s).
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2006 09:04 PM
Profile PM Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: Command not found error
I don't see any wrong code there, haven't got time to test it...

The error occurs on both (/look4 & /cl) commands?
08-04-2006 09:23 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: Command not found error
Ok, you've kinda pointed out a problem to me that explains it... When using the "/cl" command, the "/look4" command gets called as well.  The "/look4" command needs an email address specified as a parameter. Typing "/cl email@domain.com" works fine...

Any idea why it's calling both functions? Should I just use if statements rather than using cases?

Thanks for the quick reply by the way :D

EDIT: Done some tinkering now and it's working. Thanks for your help anyway else I wouldn't have noticed the cause. (Y)

This post was edited on 08-04-2006 at 09:42 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2006 09:34 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On