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

Help with code please
Author: Message:
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. Help with code please
How can I make it so that if Special Small Characters script is installed it doesn't allow my script to be installed?

Thanks
Aden

This post was edited on 09-21-2007 at 11:23 PM by skyserpent.
09-21-2007 11:22 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Help with code please
Check the registry for the script and then if it's there, turn your script off, disable it in the registry for when WLM is restarted and then display an error telling the user
<Eljay> "Problems encountered: shit blew up" :zippy:
09-21-2007 11:31 PM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Help with code please
even though you can, you shouldnt do that...
09-22-2007 12:00 AM
Profile PM Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: Help with code please
Explian please.
09-22-2007 12:02 AM
Profile E-Mail PM Web Find Quote Report
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: Help with code please
Well... take for instance that they have another script installed with the same name. You could always maybe read the script file aswell and use regexp to see if it is the actual script.

Aden, why are you worrying so much about your script?

This post was edited on 09-22-2007 at 11:06 AM by davidpolitis.
09-22-2007 10:25 AM
Profile PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Help with code please
The best solution is check the registry to see if Special Small Characters exists and is activated on start.  If it is then just bring up a warning telling the user that there is a possible conflict between the two scripts and they need to uninstall one of them.  That way it is not hard to code and they get to make the decision between the two.
[Image: markee.png]
09-22-2007 10:40 AM
Profile PM Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: Help with code please
Thanks.
09-27-2007 10:02 PM
Profile E-Mail PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Help with code please
Important note: you can check if another script is currently installed but you must not disable ore touch the preferences of another script. If you do, your script won't be allowed in the public database.
[Image: signature2.gif]
09-28-2007 03:32 PM
Profile PM Web Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
Joined: Aug 2006
O.P. RE: Help with code please
Yes, It just checks and shows a compatability warning  :D (Y)
09-29-2007 09:13 AM
Profile E-Mail PM Web 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