Multiple Accounts |
Author: |
Message: |
bigbob85
Full Member
Is Good, Is Bob...
Posts: 128 Reputation: 4
37 / /
Joined: Jul 2003
|
O.P. Multiple Accounts
Is MP!L going to support a feature, where I can have a certain script enabled, where-as my brother dosnt have any of them enabled?
Or would I like have to install WLM into a seperate directory for my brother?
(He hates all my scirpts )
|
|
07-23-2006 02:10 AM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: Multiple Accounts
quote: Originally posted by bigbob85
Is MP!L going to support a feature, where I can have a certain script enabled, where-as my brother dosnt have any of them enabled?
Or would I like have to install WLM into a seperate directory for my brother?
(He hates all my scirpts )
I thought the script settings are based on the passport settings meaning that you could install all the scripts you want just like him but only the ones you enabled will be the ones working ... this is what i feel
If it is not this way then imo it should be
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
07-25-2006 06:55 PM |
|
|
Sunshine
Elite Member
Posts: 5141 Reputation: 122
– / /
Joined: Mar 2004
Status: Away
|
|
07-25-2006 07:14 PM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: Multiple Accounts
quote: Originally posted by Sunshine
No, scripts are global and loaded for all unless the scripter included the option for enabling/disabling per account.
Ok i didnt know that. Thanks sushi
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
07-25-2006 07:24 PM |
|
|
bigbob85
Full Member
Is Good, Is Bob...
Posts: 128 Reputation: 4
37 / /
Joined: Jul 2003
|
O.P. RE: Multiple Accounts
I think ill just go mod all my scripts then...
|
|
07-26-2006 12:38 AM |
|
|
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
RE: Multiple Accounts
What you can do :
In all your script :
on the top :
code: var email_authorized = new Array("example@truc.fr");
var authorized;
in the OnEvent_Signin (creat it if don't exist)
code: function OnEvent_Signin(Email)
{
authorized = false;
for (var i =0; i<email_authorized.length;i++)
{
if (email_authorized[i] ==Messenger.MyEmail)
{
authorized = true:
break;
}
return;
}
//real code of the OnEvent_Signin...
}
and in all the function OnEvent, on the top :
code: function OnEvent_XXXXXX(....)
{
if (!authorized)
{
return;
}
//real code of the OnEvent_XXXX...
}
If you have a lot of script, It can be long but you just have make this juste 1 on time ^^
Squelettor
|
|
07-26-2006 01:42 AM |
|
|
qgroessl
Veteran Member
Posts: 1615 Reputation: 22
33 / – /
Joined: Jul 2005
Status: Away
|
RE: Multiple Accounts
is it possible to make one script, that would enable/disable all scripts for a user?... or something...
Like... User A wants scripts User B doesn't
Both users have the scripts globally... and then when User A signs in, the scripts disableing script wouldn't start... but then when User B signs in, it would disable all scripts.
|
|
07-26-2006 02:23 AM |
|
|
bigbob85
Full Member
Is Good, Is Bob...
Posts: 128 Reputation: 4
37 / /
Joined: Jul 2003
|
O.P. RE: Multiple Accounts
Im not sure UTI.
But what i might do, is mod all my scripts, but make them make a ini config file. And have that stored just n the /scripts/ directory. And it will be like.
email=bigbob85@vizzed.com
nowplaying=true
email=(other email)
nowplaying=flase
or something like that.
If anyone wants to make it , that'd be super
|
|
07-26-2006 02:28 AM |
|
|
Squelettor
Junior Member
Posts: 49
Joined: Jul 2006
|
RE: RE: Multiple Accounts
quote: Originally posted by bigbob85
Im not sure UTI.
But what i might do, is mod all my scripts, but make them make a ini config file. And have that stored just n the /scripts/ directory. And it will be like.
email=bigbob85@vizzed.com
nowplaying=true
email=(other email)
nowplaying=flase
or something like that.
If anyone wants to make it , that'd be super
And when look you in the ini config file ?? MspPlus look or all your script ??
|
|
07-26-2006 02:31 AM |
|
|
bigbob85
Full Member
Is Good, Is Bob...
Posts: 128 Reputation: 4
37 / /
Joined: Jul 2003
|
O.P. RE: Multiple Accounts
Id mode all scripts, to check the ini file, to see if they should have this script enabled. And if its not, ill either.
1. Disable the script via JScript (if possible)
or
2. Just not allow the code.
so just in persudo code.
if (checkini(bigbob85@vizzed.com) == true){
show code
}
|
|
07-26-2006 03:36 AM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|