What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Dear scripters, please read! Some command guidelines.

Dear scripters, please read! Some command guidelines.
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: IMPORTANT! Dear scripters, please read!
quote:
Originally posted by Sunshine
quote:
Originally posted by CookieRevised
And that is the exact problem. A script should not be fixed to include all kinds of random things other people come up with to start their commands.
I believe the !command (wasn't that adviced at some point?) has become common just as the /command
It certainly never was recommended. On the contrary, it is adviced not to use "!" commands (or anything else) and use the proper "/" syntaxis.

quote:
Originally posted by Sunshine
(and by further reading i found the / can't be used in all cases)
It can in all cases where commands are used to trigger something in a script you're running though. There is no reason why it can't.

quote:
Originally posted by Sunshine
i think it would be wise to have standards for what is an acceptable command start and what isn't.
There is :D A command starts with "/".

quote:
Originally posted by Sunshine
Afterall you can't expect scripters to rule out every possible beginning...just the two common ones should do.
There is no "two common ones" though. There is only 1...

The fact that some scripts use "!" (for local stuff) has everything todo with people not knowing how to script commands properly and not knowing that simply adding  return ''  to the  SendMessage event  is all it takes to not have that Plus! message "command is not reconized". And people copy-catting others, instead of reading the documentation first...

In other words, that is not how a 'standard' is defined, or not how it should be. But exactly what 'not following standards' means.

'not following standards' shouldn't become the 'standard'.

quote:
Originally posted by Sunshine
I agree there should be one unified start of commands, but i do fear that will lead to problems too (what if two add-ons use the exact same command?)
But that will not be solved by saying that "!" commands are commands too; The problem will still be there.

quote:
Originally posted by Sunshine
Let's look at it from another way/other possible solution (wich i thought of first before the ignoring certain chars in scripts):
If ! is used to start a command, is it possible to ignore any formatting before that? I fear that will be a problem as a sentence can also end with an ! I have done some testing with formatcodes and /commands (put in format tag, type command), this results in the command not beeing executed aswell. Now if all commands would start with / can formatting be ignored if put infront of that (regardless wether or not this was put in manually as i did)? If that is possible we end with the problem what if all add-ons could use /commands and two add-ons want the exact same one?
Nope...

Commands start with "/", nothing else, not even formatting codes, since those codes are simply text too...

quote:
Originally posted by -dt-
who in their right mind would want to do //np when its easier (and looks better) to do !np
tbh, "//" is more logic than "!" "." or whatever else, since you can say that remote commands are commands too...

However, there is something to say about "!" commands too, but only in context of remote commands. But scripts which use "!" remote commands should deal with them as if they were text, not as if they were commands (aka: take in account possible formatting and thus don't assume a remote command will always starts with "!").

quote:
Originally posted by ddunk
what most people are used to.
And how did they become use to it? --->
quote:
Originally posted by markee
(assuming they have written their script reasonably well).
exactly...

by bad written scripts...

And thus good written scripts should adapt and be fixed? I totally do not agree with this...

MHO

------------------

PS: It is not StuffPlug which is the cause of this or whatever. The problem existed long before, but was simply ignored by many people, eventhough it has been requested multiple times to them to change their commands into proper commands. I'm not into forcing standards upon people, but standards are there for a reason. Even if it might not be clear at first why they are there.

EDIT:
quote:
Originally posted by NanaFreak
COOKIE OWNS YOU ALL!!!
nope, I just have a strong opinion about things like this

This post was edited on 01-08-2007 at 07:55 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-08-2007 06:42 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Dear scripters, please read! Some command guidelines. - by Sunshine on 01-07-2007 at 02:52 PM
RE: IMPORTANT! Dear scripters, please read! - by NanaFreak on 01-07-2007 at 02:55 PM
RE: RE: IMPORTANT! Dear scripters, please read! - by Orgrim Doomhammer on 01-07-2007 at 03:35 PM
RE: IMPORTANT! Dear scripters, please read! - by Sunshine on 01-07-2007 at 02:58 PM
RE: IMPORTANT! Dear scripters, please read! - by warmth on 01-07-2007 at 03:06 PM
RE: IMPORTANT! Dear scripters, please read! - by Sunshine on 01-07-2007 at 03:16 PM
RE: IMPORTANT! Dear scripters, please read! - by Menthix on 01-07-2007 at 03:37 PM
RE: IMPORTANT! Dear scripters, please read! - by Sunshine on 01-07-2007 at 03:41 PM
RE: RE: IMPORTANT! Dear scripters, please read! - by CookieRevised on 01-07-2007 at 04:51 PM
RE: IMPORTANT! Dear scripters, please read! - by NanaFreak on 01-07-2007 at 03:55 PM
RE: IMPORTANT! Dear scripters, please read! - by Sunshine on 01-07-2007 at 05:42 PM
RE: RE: IMPORTANT! Dear scripters, please read! - by CookieRevised on 01-08-2007 at 06:42 AM
RE: RE: RE: IMPORTANT! Dear scripters, please read! - by markee on 01-08-2007 at 07:00 AM
RE: IMPORTANT! Dear scripters, please read! - by markee on 01-08-2007 at 03:36 AM
RE: IMPORTANT! Dear scripters, please read! - by -dt- on 01-08-2007 at 04:06 AM
RE: IMPORTANT! Dear scripters, please read! - by ddunk on 01-08-2007 at 04:30 AM
RE: IMPORTANT! Dear scripters, please read! - by markee on 01-08-2007 at 04:39 AM
RE: IMPORTANT! Dear scripters, please read! - by NanaFreak on 01-08-2007 at 06:50 AM
RE: IMPORTANT! Dear scripters, please read! - by Sunshine on 01-08-2007 at 01:36 PM
RE: IMPORTANT! Dear scripters, please read! - by John Anderton on 01-08-2007 at 02:53 PM
RE: RE: IMPORTANT! Dear scripters, please read! - by markee on 01-09-2007 at 12:41 AM
RE: IMPORTANT! Dear scripters, please read! - by Rolando on 01-09-2007 at 12:48 AM
RE: IMPORTANT! Dear scripters, please read! - by John Anderton on 01-09-2007 at 08:23 AM
RE: RE: IMPORTANT! Dear scripters, please read! - by lysp on 06-03-2007 at 02:36 PM
RE: RE: IMPORTANT! Dear scripters, please read! - by warmth on 01-09-2007 at 05:00 PM
RE: Dear scripters, please read! Some command guidelines. - by Spunky on 01-09-2007 at 05:11 PM
RE: Dear scripters, please read! Some command guidelines. - by markee on 01-10-2007 at 03:35 AM
RE: Dear scripters, please read! Some command guidelines. - by warmth on 01-10-2007 at 04:22 AM
RE: HELP - by Psychotic™ on 10-15-2009 at 12:52 PM
RE: Dear scripters, please read! Some command guidelines. - by matty on 10-15-2009 at 02:03 PM
RE: Dear scripters, please read! Some command guidelines. - by Psychotic™ on 10-15-2009 at 02:58 PM
RE: Dear scripters, please read! Some command guidelines. - by matty on 10-15-2009 at 03:20 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