2026
Modification Help / Re: Auto Save
« on: March 04, 2007, 09:40:29 PM »
Actually, it would be <minutes> * 60 * 1000 or <minutes> * 60000.
I would simplify this wayyy down.
function AutoSave()
{
savebuild("AutoSave");
$AutoSave= schedule(300000,0,AutoSave);
}
This would autosave every five minutes to the same file (Which to me, autosaves should use the same file, b/c it's there only as a backup.). Then, when the user wants to disable autosave, just run the cancel($autosave);
I would simplify this wayyy down.
function AutoSave()
{
savebuild("AutoSave");
$AutoSave= schedule(300000,0,AutoSave);
}
This would autosave every five minutes to the same file (Which to me, autosaves should use the same file, b/c it's there only as a backup.). Then, when the user wants to disable autosave, just run the cancel($autosave);
