Matrix.kix uses the Jochen-built Delay UDF:



function delay($n)
 $ticks = @ticks +$n
 while @ticks < $ticks
 loop
endfunction