kideas
Junior Member
Posts: 69
|
Post by kideas on Dec 1, 2018 0:02:41 GMT
Please I want to Restart my script after some minutes of exit. How can I achieve that? Thanks
|
|
|
Post by AnkuLua on Dec 1, 2018 15:14:18 GMT
Just replace scriptExit() with wait(). The script will continue after waiting.
|
|
kideas
Junior Member
Posts: 69
|
Post by kideas on Dec 2, 2018 14:49:24 GMT
Just replace scriptExit() with wait(). The script will continue after waiting. Thanks boss
|
|
|
Post by lenra77 on Dec 4, 2018 0:06:18 GMT
being able to restart the script after a period of time would be a good feature. Or if there's an alternative way to release memory aside from restarting the script itself.
|
|
kideas
Junior Member
Posts: 69
|
Post by kideas on Dec 15, 2018 20:28:10 GMT
please I can't get wait() to restart the script. for instance I used wait(60) at the end of script but it closed and showed dialog.
|
|
kideas
Junior Member
Posts: 69
|
Post by kideas on Dec 15, 2018 22:25:55 GMT
[SOLVED] Finally got it to work.
while true do
...
wait(20) end
|
|
|
Post by Exilereven on Dec 15, 2018 22:37:47 GMT
Wow that's all you needed the entire time was a while loop?..... read down the posts and Def made me smile . Also try looking up Timer(), with that you can have it check for a certain amount of time going by before starting your loop again, or make the script start and stop at certain times of day.
|
|
kideas
Junior Member
Posts: 69
|
Post by kideas on Dec 17, 2018 1:43:50 GMT
Wow that's all you needed the entire time was a while loop?..... read down the posts and Def made me smile . Also try looking up Timer(), with that you can have it check for a certain amount of time going by before starting your loop again, or make the script start and stop at certain times of day. Thanks for the info
|
|