Deze zet continu 1 kerstplaat in de top van de Queue.
Het PAL script stopt automatisch op 26 december om 23:59:00.
Ook de request wordt automatisch uit en aan gezet.
Het script kun je automatisch met SAM laten opstarten.
Code: Selecteer alles
PAL.WaitForTime(StrToDateTime('24-12-2007 19:59:00'));
PAL.Loop:=True;
RequestPolicy.Enabled := False;
Var DEnd : DateTime;
DEnd := EncodeDate(2007,12,26);
Cat['kerst'].QueueTop(smRandom, EnforceRules);
PAL.WaitForPlayCount(1);
if ((Now>=DEnd)) And (Now >= (DateTime(T['23:59:00']))) then
begin
PAL.Loop := False;
RequestPolicy.Enabled := True;
end;