OK, well, I tried something like this before but with Cronnix (not iCal).
The problem is now after 10.4.1 and the latest Security Update this script cannot run when my screensaver is running that requires a password to dismiss. Other scripts work fine behind the screensaver.
By the way, does iCal need to be open in order for the alarm and the script to execute?