Hi Ben,
the example you provided rely on event,
you can achieve this with DIALOG SET TIMER.
for usage, see samples :\thinBasic\SampleScripts\UI\CallBacks\_TBGL\TBGL_Control2_TimerC.tbasic or \thinBasic\SampleScripts\UI\Timer\Timer_Sample.tBasic
For a console script, you would have to check regularly the elapsed time (i.e. inside a loop)
Edit: Though, in this case, the 'check' may not catch an endless code execution if not well placed.
Bookmarks