What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Multiple acounts Vs multiples scripts

Multiple acounts Vs multiples scripts
Author: Message:
AlfmaniaK
Junior Member
**

Avatar
Read these lines

Posts: 18
44 / Male / –
Joined: Dec 2004
O.P. Multiple acounts Vs multiples scripts
Hi there,
I was wondering if its possible to import a script into one acount only, not affecting other acounts when using poligamy?
Cool!
09-23-2006 12:42 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Multiple acounts Vs multiples scripts
No, scripts are loaded globally.

However, you can make scripts in such a way that only with a certain account the script's functions will be executed, and with other accounts it will do nothing.

For this you need to check the email of the 'allowed' account with the email of the currently logged in user (= Messenger.MyEmail). However, of course this will only work for scripts which don't do stuff in their global scope (before all events are called) or for scripts which do stuff in OnEvent_Initialize for example.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-23-2006 01:36 AM
Profile PM Find Quote Report
AlfmaniaK
Junior Member
**

Avatar
Read these lines

Posts: 18
44 / Male / –
Joined: Dec 2004
O.P. RE: Multiple acounts Vs multiples scripts
Thanks for the quick reply.
After that, is there any way to build a script that manage the other scripts?
What I was thinking right now was a script (loaded globally) where we could set wich user acount should trigger the available scripts. If there is no way to do this, is it wrong if I edit the scripts one by one to match the acount I want?
Cool!
09-23-2006 01:52 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Multiple acounts Vs multiples scripts
quote:
Originally posted by AlfmaniaK
Thanks for the quick reply.
After that, is there any way to build a script that manage the other scripts?
Nope, for the same reason: you could alter registry settings, but you can't force Plus! to reload those newly set settings.

eg: scripts are not reloaded, or the enabled/disabled scriptlist is not reread, when a user signs in or signs out; scripts simply keep on running without interuption (the only thing which will happen is OnEvent_SignIn and  OnEvent_SignInReady and such events are called).

Only when Messenger restarts all registry settings are read in again (and when you change stuff via the Plus! preferences window of course).

quote:
Originally posted by AlfmaniaK
If there is no way to do this, is it wrong if I edit the scripts one by one to match the acount I want?
I'm sure no author would have a problem with that. On the condition you do not spread those altered sources and you take in account that you are responsible for any errors this might cause in the scripts.

This post was edited on 09-23-2006 at 02:00 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-23-2006 01:56 AM
Profile PM Find Quote Report
AlfmaniaK
Junior Member
**

Avatar
Read these lines

Posts: 18
44 / Male / –
Joined: Dec 2004
O.P. RE: Multiple acounts Vs multiples scripts
Thanks!
Cool!
09-23-2006 02:17 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