not sure about that approach...
can do, ofcourse.

I just don't get it what is hard in simple thing like (remember, this was said not to be starter question):
Code:

"looping"
do
$hour=left(@time,2)
select
case kbhit
quit
case 8<$hour and 17>$hour
$sleepy=30
;execute the checker
case 17<$hour and 24>$hour
$sleepy=60
;execute the checker
endselect
sleep 60*$sleepy
until 1=0



or then I read the thing wrong...
_________________________
!

download KiXnet