Shoutbox

Help with code please - 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: Help with code please (/showthread.php?tid=77677)

Help with code please by skyserpent on 09-21-2007 at 11:22 PM

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


RE: Help with code please by Spunky on 09-21-2007 at 11:31 PM

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


RE: Help with code please by NanaFreak on 09-22-2007 at 12:00 AM

even though you can, you shouldnt do that...


RE: Help with code please by skyserpent on 09-22-2007 at 12:02 AM

Explian please.


RE: Help with code please by davidpolitis on 09-22-2007 at 10:25 AM

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?


RE: Help with code please by markee on 09-22-2007 at 10:40 AM

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.


RE: Help with code please by skyserpent on 09-27-2007 at 10:02 PM

Thanks.


RE: Help with code please by Patchou on 09-28-2007 at 03:32 PM

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.


RE: Help with code please by skyserpent on 09-29-2007 at 09:13 AM

Yes, It just checks and shows a compatability warning  :D (Y)