Hi SoyEli

I guess you should do it then with timers. Means try something along those lines (I haven't tested it... )


Sub Process_Globals
	dim t as timer
	dim cmd as int
end sub

Sub Activity_Create
	t.Initialize("mytimer", 1000) 
	cmd=0
End Sub

Sub wait(delay as int)
	t.interval=delay
	t.enabled=true
end sub

Sub mytimer_Tick
	t.enabled=false
	cmd=cmd+1
	select cmd
		case 1
			'first command
			'...
			wait(3000)
		case 2
			'second command
			'...
			wait(4000)
		case 3
			'third command
			'...
			wait(1000)
	end select
End Sub
