Add a way to know if the script was restarted

Propose new features and changes
dd-pardal
Posts: 1
Joined: 01 Aug 2020, 12:55

Add a way to know if the script was restarted

02 Aug 2020, 08:23

It is currently not possible AFAIK to know if the script was launched with the /restart command line parameter, because it comes before the script name. It would be nice to have a built-in variable like A_IsRestarted to indicate it. :D
lexikos
Posts: 7057
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Add a way to know if the script was restarted

08 Aug 2020, 21:11

There's an example in the documentation which checks for the /restart parameter, so evidently it is already possible.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 2 guests