Auto-Auto-Screenshot Script :D
This script will automatically toggle the autoscreenshot tool depending on which mastermode the server is in. This is useful if you (like me) always forget to take screenshots of cms or inters, but don't want to leave autoscreenshot on all the time.
[cubescript]//AutoAutoScreenShot by Lantry
lastmastermode = 0
autoautoss = [
autoscreenshot 0
if (!= $lastmastermode (curmastermode)) [
if (= (curmastermode) 0) [ //when open
autoscreenshot 0 //autoscreensshot is on (1) or off (0)
echo "Mastermode 0 detected"
]
if (= (curmastermode) 1) [ //when private
autoscreenshot 1
echo "Mastermode 1 detected"
]
if (= (curmastermode) 2) [ //when match
autoscreenshot 1
echo "Mastermode 2 detected"
]
]
lastmastermode = (curmastermode)
sleep 300000 [ autoautoss ]
]
addcheck_msa [ autoautoss ][/cubescript]
By default, it will turn autoscreenshot on in private and match, and turn it off in open, but it is easily modifiable! Simply change the argument for "autoscreenshot" to 1 (on) or 0 (off) under the proper if statement.
To install, simply put it in your autoexec .cfg or scripts folder!
This script will automatically toggle the autoscreenshot tool depending on which mastermode the server is in. This is useful if you (like me) always forget to take screenshots of cms or inters, but don't want to leave autoscreenshot on all the time.
[cubescript]//AutoAutoScreenShot by Lantry
lastmastermode = 0
autoautoss = [
autoscreenshot 0
if (!= $lastmastermode (curmastermode)) [
if (= (curmastermode) 0) [ //when open
autoscreenshot 0 //autoscreensshot is on (1) or off (0)
echo "Mastermode 0 detected"
]
if (= (curmastermode) 1) [ //when private
autoscreenshot 1
echo "Mastermode 1 detected"
]
if (= (curmastermode) 2) [ //when match
autoscreenshot 1
echo "Mastermode 2 detected"
]
]
lastmastermode = (curmastermode)
sleep 300000 [ autoautoss ]
]
addcheck_msa [ autoautoss ][/cubescript]
By default, it will turn autoscreenshot on in private and match, and turn it off in open, but it is easily modifiable! Simply change the argument for "autoscreenshot" to 1 (on) or 0 (off) under the proper if statement.
To install, simply put it in your autoexec .cfg or scripts folder!