So my script currently stops on conditions
if profit >= 0.1 then
stop()
end
i want to implement this code into mine so after the target satified it will sleep for 30 secs and then restart my dobet function
if found this
function sleep()
t0 = os.clock()
while os.clock() - t0 <= n do
end
but i cant find a way to restart after sleep and restart my dobet() function
my code sample