SRL Archive - Other Scripts

Alarm & Countdown Script


Rich

2010-04-17 09:10:54

This is just a simple alarm and countdown script I made whilst I was bored.

Instructions:
- Change directory if the one entered doesn't exist.
- Press PLAY.
- Choose alarm or countdown with first form.
- The next form will depend on the first choice - if you chose alarm, it will ask for the time you want in HH:MM:SS AM/PM format. If you chose countdown, you will need to enter how long to countdown in minutes.
- Wait until alarm sounds.
- Press F2 to stop alarm.

Let me know what you think!

Doesn't work with Simba, due to Simba not having ReadLn.

Naum

2010-04-17 09:15:23

Line 14: [Error] (22125:5): Unknown identifier 'Result' in script 
You need to change that procedure into a function.

Edit, also:

  if AlarmOrCD then
DoAlarm;
else

to:

  if AlarmOrCD then
DoAlarm
else

Rich

2010-04-17 10:43:58

Thanks Naum. I guess that's what I get for not testing :)