Knight 1 Report post Posted September 16, 2005 This is a semi-useless function I whipped up in about 13 seconds. It works the same as sleep except instead of identifying the time in milliseconds it uses seconds. The reason I made it was because I created a script in where people had to configure some sleep times manually, and rather then just multiplying everything by 1000, I could do it quicker this way. I am not expecting anyone to need it, just thought I would throw it up here ;Examples _SleepSec(10) _SleepSec(10.545313215) ;Function Func _SleepSec($seconds) Sleep($seconds * 1000) EndFunc Share this post Link to post Share on other sites
busysignal 0 Report post Posted September 17, 2005 This is a semi-useless function I whipped up in about 13 seconds. It works the same as sleep except instead of identifying the time in milliseconds it uses seconds.The reason I made it was because I created a script in where people had to configure some sleep times manually, and rather then just multiplying everything by 1000, I could do it quicker this way.I am not expecting anyone to need it, just thought I would throw it up here ;Examples _SleepSec(10) _SleepSec(10.545313215) ;Function Func _SleepSec($seconds) Sleep($seconds * 1000) EndFuncYea, but it works. If you can make the code easier then what the heck, eh!Cheers.. Share this post Link to post Share on other sites