home *** CD-ROM | disk | FTP | other *** search
- /**
- *** This will schedule the event if the time is between 8am and 4:59 pm.
- **/
-
- parse arg EventName, MessageText
-
- CurrentHour = time("Hours")
- if CurrentHour < 8 then
- return 0
- if CurrentHour > 16 then /* 5pm */
- return 0
-
- return 1 /* Schedule the event */
-