Resource icon

Custom AutoRestart 1.1

No permission to download
This is a replacement version of the AutoRestart.cs file in your MISC folder. If you want to use this, you will probably need to replace yours, as this was completely rewritten.

This adds commands to the AutoRestart feature.

First, if you want to restart 15 minutes from now, just say
[restart 15

Other commands include:

[AutoRestartOn or [AR-On
[AutoRestartOff or [AR-Off
[AutoRestartTime or [AR-Time (which lets you specify the time of day for the restart (0 to 23).)
[AutoRestartText or [AR-Text (which lets you customize the warning message.)
[AutoRestartColor or [AR-Color (which lets you customize the color of the warning message.)
[AutoRestartWhen or [AR-When (which reminds you when the next auto-restart will happen.)

Next, if you want to set up AutoRestart for a particular time of day, and either daily or weekly, those options are now in the script. Also, you can specify specific time intervals prior to restart to send out warnings. These values are stored in a List in the script. So, for example you could chose to send warnings at 1,2,5,10, and 15 minutes prior to restart.

Unfortunately, in this release, none of the values are saved, so if you find something you like, for now just use those values in the script. Later I will add either a save option which writes to a file, or an object the Admin can hold which stores the values for future use. (Or I might do both.)
  • Like
Reactions: Greed
Author
Lokai
Downloads
61
Views
61
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Lokai

Latest updates

  1. Correct Updated version with AutoRestarter Item

    Sorry, the download was not showing properly before because I forgot to create a new Version...
  2. Load and Save AutoRestart settings using nice little Item

    OK, OK, I am using an Item...Hear me out. The Item was not just an easy way to store Props that...