Results 1 to 5 of 5

Thread: Run multiple scripts?

  1. #1
    Join Date
    Mar 2012
    Posts
    182
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Run multiple scripts?

    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?

  2. #2
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    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.
    Miner & Urn Crafter & 07 Chicken Killer
    SPS BlindWalk Tutorial

    Working on: Nothing

    teacher in every art, brought the fire that hath proved to mortals a means to mighty ends

  3. #3
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Have another simba open that will stop the current script and start the other! :P

  4. #4
    Join Date
    Aug 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can't you run two scripts or threads so you can read input in the other?

    and have them share variables...?

  5. #5
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Create multiple cmd files for each of your scripts containing

    C:\Simba\Simba.exe -o C:\Simba\Scripts\SCRIPTNAME.simba -r
    After that, encapsulate

    Simba Code:
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •