waking computer with script

Please excuse my ignorance, as I am new to this.
Is there any way for a running script to wake the computer from sleep if the script app. is running during sleep?

Just for fun, I made a script (like an alarm clock) that will ask for a time, and at that time, play a random song from my iTunes playlist. It works as long as the computer is awake, but not after it sleeps.

Thank you for your time. . . my alarm clock is extremely annoying.


NO. However, there are some utilities specially thought to wake-up the machine and run scheduled scripts (eg, iBeeZz)