Autosave App
Posted: March 26th, 2010, 12:03 am
Does anyone ever get annoyed when Youve spent hours on a map and your computer crashes and you realise that you didnt save the map?
Well..... I have a solution to that problem.
If you already have an "autoexec.cfg" file just simply paste the code into the bottom of the file and save it.
If not. Download the autoexec.cfg from one of my other apps and paste the code at the bottom.
Then type /autosave into the console and let the engine do the rest.
Well..... I have a solution to that problem.
If you already have an "autoexec.cfg" file just simply paste the code into the bottom of the file and save it.
Code: Select all
autosave = [
echo AutoSave ON
echo Autosave: Autosave Active
echo Created by: Leo_V117
asloop_on = 1;
autosave_loop
]
autosave_loop = [
sleep 50000 [
if (= $asloop_on 1) [
savemap
echo Autosave: The Map was successfully saved
autosave_loop
] []
]
adscript = [
echo AutoSave OFF
asloop_on = 0;
autosave_loop
autosave = [
echo AutoSave ON
asloop_on = 1;
autosave_loop
]
]
]
Then type /autosave into the console and let the engine do the rest.