This is really too simple for a seperate function
endtime should be global
To reset the timer
endtime=Millisecs()+130000
To diplay the timer
Print (endtime-Millisec())/1000
To check the timer
If endtime<Millisecs() Then
;do the thing you need when timer reach 0
End If
endtime should be global
To reset the timer
endtime=Millisecs()+130000
To diplay the timer
Print (endtime-Millisec())/1000
To check the timer
If endtime<Millisecs() Then
;do the thing you need when timer reach 0
End If