Jump to content

Script needed


Recommended Posts

I need a script that starts at 9:00PM and ends at 1:00AM is this at all possible? Right now I have it looping but every morning I have to stop it which is becoming a pain. I have the event scheduler starting it at 9:00PM and sometimes it doesn't even start it. I am going to add more randomness but I didn't know how far I can make the script run within it either locked up on not running at all. 

 

Thanks

Joe

 

Cat['Station IDs (All)'].QueueBottom(smLRP, NoRules);
Cat['Slow'].QueueBottom(smLRP, EnforceRules);
Cat['Slow 2'].QueueBottom(smLRP, EnforceRules);
Cat['Slow'].QueueBottom(smRandom, EnforceRules);
Cat['Slow 2'].QueueBottom(smLRP, EnforceRules);
Cat['Slow'].QueueBottom(smLRP, Enforcerules);
Cat['Slow'].QueueBottom(smLRP, EnforceRules);
Cat['Slow 2'].QueueBottom(smLRP, EnforceRules);
Cat['Slow'].QueueBottom(smRandom, EnforceRules);
Cat['Slow 2'].QueueBottom(smLRP, EnforceRules);
Cat['Slow'].QueueBottom(smLRPA, EnforceRules);

//Lets wait for queue to get near empty
while Queue.Count > 1 do
begin
  PAL.WaitForPlayCount(1);
end;

//Restart script
PAL.Loop := True;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...