local socket = require 'socket' print("Starting loop: test 123") for i = 1,100 do socket.sleep(0.5) print("i =", i) -- we'll stop here end print("Yaaayyyy it works perfectly fine :)")