function sleep added

This commit is contained in:
Akamaru 2015-04-22 16:48:05 +02:00
parent a7ddab01e5
commit afd79c2500

View File

@ -461,3 +461,7 @@ function match_pattern(pattern, text)
end
-- nil
end
function sleep(n)
os.execute("sleep " .. tonumber(n))
end