Shoutbox

Multi Account and different scripts... - 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: Multi Account and different scripts... (/showthread.php?tid=91373)

Multi Account and different scripts... by tosuncuk on 07-08-2009 at 08:30 AM

I am using multi account with WML but I want to modify each account different scripts.... How :):)


RE: Multi Account and different scripts... by SmokingCookie on 07-08-2009 at 09:02 AM

So you basically mean that on account A, you want the scripts U, V and W activated, but on account B, you want the scripts X, Y and Z to be active?


RE: Multi Account and different scripts... by CookieRevised on 07-08-2009 at 09:18 AM

There is no 'easy' way since scripts will always run, even if the user hasn't signed in yet or if the user has signed out.

But with proper written scripts you should not need to worry about these things. Meaning it either doesn't matter what account you're using, or either the script is configurable per account. It even doesn't matter if you already signed in with an account or not, good scripts should always be able to handle all those events without problems.

Unfortunatly there are still a lot of scripts which don't take in account different user accounts and thus if you configure the script for one user account, it would still influence the other user accounts as well... And then there are also still a lot of scripts which don't take in account that a script also runs even if the user hasn't signed in yet (with whatever account) or has signed out, or if a connection is lost, etc.

All this makes that it very highly depends on which scripts you attend te be running.

So, if those scripts are written properly then you should have no problems at all and in fact you don't need to do anything at all in that case! The functions of the scripts will only be executed in the accounts you have configured in the script's settings.

Of course, if you attend to run scripts which aren't written properly, then you might have problems. In those cases there are several methods you might wanna try. But they will always boil down to either:

  1. rewrite the scripts yourself (best option!)
  2. or run a batch file _before_ starting Messenger which configures the Plus! settings each time.

The first option is by far the best option! In this case you don't need any external configuration batch file or whatever. Also, you would be able to sign out with one account and sign in with the other without any configuration problems. In most cases it would even be possible to run two or more Messenger instances at the same time (called 'polygamy').

The second option is surely the worst option. In this case you always need to run a batch file (or other program) which configures/changes the registry settings before running Messenger so that Plus! knows which scripts to load and run. You wont be able to run multiple instances of Messenger at the same time (since the loaded scripts will conflict), you wont be able to sign out and sign in with another account (since the scripts will not be unloaded/loaded according to the account), etc...

So, what is the exact reason why you want to load different scripts for different accounts, and about which exact scripts are you talking about?
RE: Multi Account and different scripts... by tosuncuk on 07-08-2009 at 09:26 AM

Thanks but I dont know to write a script :):). The main problem is about the script "offline blocker" when you use them with polygamy I have some problems with contact lists. :)