Ask coding questions

← Back to all posts
What is the command for wait?
NEONLIMITS

What is the command for wait?

Voters
NEONLIMITS
Comments
hotnewtop
RishabhRanjit

@NEONLIMITS There is none.
You can make your own using require()

You can then turn the code to

socket = require("socket")

function sleep(sec)
socket.select(nil, nil, sec)
end

while true do
wait(1)
end

RishabhRanjit

@NEONLIMITS

I meant