ik heb op sam broadcaster voor men radio zender het volgende script.
Code: Selecteer alles
PAL.WaitForPlayCount(1);
PAL.Loop:=True;
PAL.LockExecution;
var tijd, uur, prog : string;
var QueueTime : Integer = (60*60*1000);
var D : DateTime;
var JIN : Integer = 1;
D := T['+01:00:00'];
tijd := FormatDateTime('hh', D);
if (tijd = '00') then tijd := '24';
tijd := tijd - 01;
begin
if ((tijd >= '07') and (tijd < '08')) then Cat['kids'].QueueBottom(smRandom, EnforceRules)
else if ((tijd >= '08') and (tijd < '09')) then Cat['kids'].QueueBottom(smRandom, EnforceRules)
else if ((tijd >= '14') and (tijd < '15')) then Cat['outjes'].QueueBottom(smRandom, EnforceRules)
else if ((tijd >= '15') and (tijd < '16')) then Cat['outjes'].QueueBottom(smRandom, EnforceRules)
else
end;
PAL.UnLockExecution;
ook hoor je smidags niet de muziek uit de catogorie outjes.
weet iemand wat ik fout doe, of wat er fout zit in men script?