What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Scripts not independant of accounts...

Scripts not independant of accounts...
Author: Message:
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: RE: Scripts not independant of accounts...
quote:
Originally posted by -dt-
quote:
Originally posted by vikke
This would be hard to implement, because all scripts gets enabled before you sign in, therefor it is impossible. If your script is well-coded, it will save all settings for each user.
Hm not really, it wouldnt be too hard.
Patchou could introduce an option in the scriptInfo.xml called <userLevel> and allow that to be set to global or user. If its global then store it how it currently is but if its set to user then install it into a directory like /scripts/email/scriptname and run it when the user signs in and unload it when that user signs out

and maybe Plus! could even have the option for both levels, and let the user choose when you install the script

This should work, but it would ruin the simplicity about scripts.

Also, you cannot run 2 scripts at the same time with different settings (if it's not programmed that way, some are).

Edit: It's not ridiculous, you don't seem to know anything about how scripts work. Some scripts may need to run when Messenger starts to apply their features. The best solution I've come up with is to create a new object for Messenger Plus!, called Registry or something.

Something like this:
code:
class Registry:
  function SaveGlobalSetting(Name, Value);
  function LoadGlobal(Name, Default);
  function SaveUserSetting(Name, Value);
  function LoadUserSetting(Name, Default);


This post was edited on 10-23-2007 at 04:33 PM by vikke.
10-23-2007 02:55 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Scripts not independant of accounts... - by Malekith on 10-23-2007 at 03:28 AM
RE: Scripts not independant of accounts... - by MattyRid on 10-23-2007 at 03:30 AM
RE: Scripts not independant of accounts... - by vikke on 10-23-2007 at 05:42 AM
RE: Scripts not independant of accounts... - by Malekith on 10-23-2007 at 07:07 AM
RE: Scripts not independant of accounts... - by -dt- on 10-23-2007 at 07:54 AM
RE: RE: Scripts not independant of accounts... - by vikke on 10-23-2007 at 02:55 PM
RE: Scripts not independant of accounts... - by Malekith on 10-23-2007 at 08:18 AM
RE: Scripts not independant of accounts... - by Spunky on 10-23-2007 at 01:41 PM
RE: Scripts not independant of accounts... - by markee on 10-23-2007 at 03:25 PM
RE: Scripts not independant of accounts... - by Spunky on 10-23-2007 at 04:53 PM
RE: Scripts not independant of accounts... - by markee on 10-23-2007 at 11:56 PM
RE: Scripts not independant of accounts... - by Malekith on 10-24-2007 at 12:14 AM
RE: Scripts not independant of accounts... - by -dt- on 10-24-2007 at 01:06 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