What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » correction please

correction please
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: correction please
I don't want to sound critical or anything, but I personally think Plan-1130's code is slightly better than markee's. *-)

First of all, in markee's code, i does not need to be a global variable (defined outside the function), because it is only used by that one function. The fact that it is a global variable in the code is the reason why there are conflicts when "you send this to another person before the 15 messages are sent". Using the for statements in Plan-1130's code is in my opinion a cleaner and better way to spam the message because, not only is i then a local variable, but statements such as if(i<15), i++ and i=0 are implied in the one line.

Secondly, in markee's code, if Message does not equal "irritant Hè!", then the else statements are executed, including return "". I haven't tested this, but this should mean that all other messages are not sent to the user's contact.

The only problem I find in Plan-1130's code is that return Message may interfere with other scripts, but this is fairly minor and probably won't happen.

That's basically why I would go for Plan-1130's code instead of markee's. (Y)

PS. Don't take this as a personal attack or anything, markee. Just wanted to improve your coding skills. :)
10-25-2006 07:01 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
correction please - by DennisMartijn on 10-06-2006 at 05:52 PM
RE: correction please - by Felu on 10-06-2006 at 06:08 PM
RE: correction please - by Ezra on 10-06-2006 at 06:15 PM
RE: correction please - by matty on 10-06-2006 at 06:17 PM
RE: correction please - by DennisMartijn on 10-24-2006 at 12:25 PM
RE: correction please - by Plan-1130 on 10-24-2006 at 12:51 PM
RE: correction please - by markee on 10-24-2006 at 03:41 PM
RE: correction please - by phalanxii on 10-25-2006 at 07:01 AM
RE: correction please - by DennisMartijn on 10-25-2006 at 07:40 AM
RE: correction please - by phalanxii on 10-25-2006 at 08:01 AM
RE: correction please - by DennisMartijn on 10-25-2006 at 08:05 AM
RE: correction please - by phalanxii on 10-25-2006 at 08:10 AM
RE: correction please - by DennisMartijn on 10-25-2006 at 08:11 AM
RE: correction please - by markee on 10-25-2006 at 08:27 AM


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