What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need an example of proper /commands to show to other scripters

Need an example of proper /commands to show to other scripters
Author: Message:
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
O.P. Need an example of proper /commands to show to other scripters
Hey,

As most of  you know i'm moderating the scripts DB, when adding new scripts i always check them out first. The thing i seem to run into more and more is that people don't use proper /commands, but they use their own ones that don't show up in the command helper or the make their commands case sensitive.

I always mail people back when things like that happen and tell them what's wrong and point them to where in the documentation they can find a solution for it. But is would be nice if there is an piece of example code that deals with all the common /command problems and shows beginning devvers how its done and what they should look out for.

At the moment i have more than 20 new scripts waiting to be added and more are dripping in. I'm sure it takes me much longer to read through the documentation than it takes for an experienced scripter to write an nice example, so i ask your help :).

What am i looking for?
- Basically a example code that shows how to deal with all the aspects of /commands
- Well commented code, a beginning unexperienced coder should be able to understand why you do things the way you do it in the example
- How to add commands to the command helper, including description (OnGetScriptCommands)
- How to catch your commands (OnGetScriptCommands)
- Make commands case insensitive
- How to work with commands that include parameters (optional parameters / multiple parameters)
- How to add parameter info to the command helper
- other things that i forgot which people should know

Put the example together with all the comments in a .js and post in here in the topic, or maybe better, post it in a BBcode block so people can easily read it and improve if needed. Once we have a nice example i'll put it in a new sticky(+locked?) topic so i can point people to there in the future.

Thanks for helping out :)
Finish the problem
Menthix.net | Contact Me
12-19-2006 04:52 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need an example of proper /commands to show to other scripters - by Menthix on 12-19-2006 at 04:52 PM
RE: Need an example of proper /commands to show to other scripters - by vikke on 11-07-2007 at 08:29 PM
RE: Need an example of proper /commands to show to other scripters - by Spunky on 11-07-2007 at 09:32 PM
RE: Need an example of proper /commands to show to other scripters - by Menthix on 11-08-2007 at 06:43 AM
RE: Need an example of proper /commands to show to other scripters - by Felu on 11-08-2007 at 07:08 AM
RE: Need an example of proper /commands to show to other scripters - by vikke on 11-08-2007 at 05:50 PM
RE: Need an example of proper /commands to show to other scripters - by Spunky on 11-08-2007 at 06:51 PM


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