then
loop
ExecuteFunc
TriggerSleepAction
set
exitwhen
endloop
else
ExecuteFunc
endif
