Shoutbox

[release] Quick Contact Adder - 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: [release] Quick Contact Adder (/showthread.php?tid=61366)

[release] Quick Contact Adder by deAd on 06-25-2006 at 05:44 PM

Here's a release of a small script I made to easily add contacts from a command, as requested in this thread. I am not planning to submit it to the real scripts database because it's really not much, and I don't want to spam up the database :P

How to Use
----------
In a conversation window, use the /addcontact command. You can add one contact, multiple contacts, or the current
contact(s) of the conversation window.

Add one contact:
/addcontact email@domain.com

Add multiple contacts:
/addcontact email@domain.com,email2@domain2.com

Add the current contact(s) of the Chat Window:
/addcontact
----------

Enjoy!


RE: [release] Quick Contact Adder by mathieumg on 06-25-2006 at 05:51 PM

If it works well and does the job it is supposed to do, I think you should submit it :p Some users won't come on the boards to find scripts.


RE: [release] Quick Contact Adder by darkcat21 on 06-25-2006 at 05:51 PM

Oh thank you very much, because now it's a bit bored adding new contacts! Great stuff!


RE: [release] Quick Contact Adder by alexp2_ad on 06-25-2006 at 05:53 PM

Congrats on your first script release!  And yeah, you should submit it to the official DB, it has a far larger audience and it's a good script. :)


RE: [release] Quick Contact Adder by Jellings on 06-25-2006 at 06:08 PM

awesome! that's really usefull!

(just to confirm - does it add all contacts in a multiple conversation?)

would be good to submit it in the official database for people who don't come to the forums here


RE: [release] Quick Contact Adder by Menthix on 06-25-2006 at 06:08 PM

As moderator of the script DB i'll say, pleasy do submit it (see http://www.msgpluslive.net/scripts/submit/ for instructions). Small scripts can also be very usefull. And since we're just starting almost every well done script is welcome now, once it starts to get hard to find things in the DB we'll see if we need to delete some less popular ones.


RE: [release] Quick Contact Adder by deAd on 06-25-2006 at 06:13 PM

quote:
Originally posted by Jellings


awesome! that's really usefull!

(just to confirm - does it add all contacts in a multiple conversation?)

would be good to submit it in the official database for people who don't come to the forums here
Thanks for the compliments. It does add all contacts in a multiple conversation. And I will submit it :)

quote:
Originally posted by MenthiX
As moderator of the script DB i'll say, pleasy do submit it (see http://www.msgpluslive.net/scripts/submit/ for instructions). Small scripts can also be very usefull. And since we're just starting almost every well done script is welcome now, once it starts to get hard to find things in the DB we'll see if we need to delete some less popular ones.
Done :)

RE: [release] Quick Contact Adder by CookieRevised on 06-25-2006 at 06:47 PM

Nice script, although I really don't understand the need for "Commands Class.js"... that seems very pointless to me.


RE: [release] Quick Contact Adder by deAd on 06-25-2006 at 07:21 PM

Commands Class.js is a simpler way to add/remove/manage commands without tons and tons of lines of XML. The full documentation for it is not here yet, and I *think* thats a shortened version.

In this case its a bit pointless because its only one command, but I didn't want to remove my commands class. I like it.


RE: [release] Quick Contact Adder by CookieRevised on 06-25-2006 at 08:03 PM

quote:
Originally posted by deAd
Commands Class.js is a simpler way to add/remove/manage commands without tons and tons of lines of XML. The full documentation for it is not here yet, and I *think* thats a shortened version.

In this case its a bit pointless because its only one command, but I didn't want to remove my commands class. I like it.
The reason I said it's rather pointless is indeed just because this script only uses 1 command....

Including such a support script is good for those who know how to deal with such things. But it doesn't teach the newbie the proper way of programming such scripts. And such a small script as this would be perfect to teach people how to script.

As for "without tons and tons of lines of XML", that is seriously exaggerated. Even a script with a handfull fixed commands doesn't need many "XML lines". Not to mention, if the commands don't change you can even provide the commands in the scriptinfo.xml IIRC.
RE: [release] Quick Contact Adder by Thor on 06-25-2006 at 08:19 PM

Good script, congrats!

Thanks for sharing! (Y)


RE: RE: [release] Quick Contact Adder by deAd on 06-25-2006 at 08:22 PM

quote:
Originally posted by CookieRevised
As for "without tons and tons of lines of XML", that is seriously exaggerated. Even a script with a handfull commands doesn't need many "XML lines". Not to mention, if the commands don't change you can even provide the commands in the scriptinfo.xml IIRC.

It's not very exaggerated. One of my other, bigger scripts has a whole JS file devoted to the XML (that and the parser, which is not big). I don't do it in the scriptinfo.xml because I often need dynamic commands. I agree with you that in this script, the commands class was not necessary, but I do not see harm in using it.
RE: [release] Quick Contact Adder by ahmetgns on 05-17-2009 at 09:15 AM

BUMP!

This script doesn't work for about 6 months. It should be updated or removed from the database.

WLM 2009 (14.0.8064)
MP!L 4.81

Note: MenthiX has been notified about this post.

Edit: It has been found out that this script doesn't work on some computers but does work on some computers. Probably there is something missing which is required for script to work in my computer and in some others'. Menthix will still keep it in the database.