Log in

View Full Version : Run multiple scripts?



sickle
10-12-2012, 03:43 PM
To add another layer of randomization, is there a way to tell SMART manager or some other way to run script A and then when it gets stuck or reaches the 6 hour limit, run script B, and then C, and then back to A, etc?

In short, how can you make it run script A and then script B?

litoris
10-12-2012, 03:50 PM
You could make them into a single script, you might need to change the variables a bit so that they don't overlap, but you wouldn't need to change much. Just creating a new mainloop that alternates between them would be enough.

Olly
10-12-2012, 04:59 PM
Have another simba open that will stop the current script and start the other! :P

Grand
10-12-2012, 08:50 PM
can't you run two scripts or threads so you can read input in the other?

and have them share variables...?

slushpuppy
10-15-2012, 02:39 PM
Create multiple cmd files for each of your scripts containing


C:\Simba\Simba.exe -o C:\Simba\Scripts\SCRIPTNAME.simba -r

After that, encapsulate


procedure startnextscript;
begin
SmartKillClient(SmartCurrentClient);
OpenWebPage('pathtocmd');
terminatescript;
end;

........

begin
SRL_Procs[srl_OnRSUpdate] := @startnextscript;
end.



On the flip side, after couple of days, you should have tons of simba executables running in your desktop xD