I am trying to create an automation script. I ran into an issue were the sleep() command is preventing my script from running. Any ideas on what is happening? I'm currently trying out some 3rd party sleep libraries, i'm just curious for why this would happen?
Example script below:
while("1")
{
sleep 2;
print "test";
}
This script never prints out "test", but if i remove the sleep function then it works perfectly fine other then it doesn't sleep when i want it too.