Forum

Please note that you can subscribe to the individual forums. A subscription for news only covers the news.

How do you punish a delayed response if the computer is placed in sleep mode  

  RSS

0

Hi Everyone.. 

Thank you soo much for all your continued hard work Sven. You're amazing!!

I'm having a problem with programming a punishment for a delayed response by the sub. I want to tell them that they must report in 30 seconds for example. Once that time is up if they don't respond within 30 seconds they are punished. If they do they are not.  The below script works well except when the computer is placed in sleep mode once the initial flag has been set. Any suggestions would be greatly appreciated. 

[report-set flag-determinenextcheck]
setflag=determinenextcheck
message=set flag -determinenextcheck

;set flag and call in 30 sec
[flag-determinenextcheck]
mintime=00:00:30
mintimeprocedure=timeupmessage

[procedure-timeupmessage]
setflag=checktimeup30sec
message=Are you wearing it??
procedure=checktimeupstatus

[procedure-checktimeupstatus]
select=first
procedure=checktimeupstatus-OK
procedure=checktimeupstatus-late

[procedure-checktimeupstatus-OK]
removeflag=checktimeup30sec
procedure=returnhomecheckdone
if=checktimeup30sec

[flag-checktimeup30sec]
duration=00:00:30

[procedure-checktimeupstatus-late]
removeflag=checktimeup10min
select=random
message=Your late with your response!!

[procedure-returnhomecheckdone]
message= Well done!!

 

 
Share: