[SELECT ALL] Code:
//Saves ban related screenshots into specified folder within Assaultcube\screenshots. Folder will automatically be //created.
//Please not that it will need reworking for 1.1 depending on whether the jpg or png option is selected.
//GD will re-publish once 1.1 is done
alias banscreenshot [
banssfilename = (concatword (at (timestamp) 0) - (at (timestamp) 1) - (at (timestamp) 2) _ (at (timestamp) 3) - (at (timestamp) 4) - (at (timestamp) 5) )
screenshot (concatword screenshots/bans/ ($banssfilename) .bmp)
]
//written by GeneralDisarray
Example of it in use
[SELECT ALL] Code:
alias banshot [
if (> (listlen $arg2) 0) [setadmin 1 $arg2] []
sleep 300 [whois $arg1]
sleep 600 [vote 2; toggleconsole]
sleep 700 [banscreenshot]
sleep 900 [toggleconsole; setadmin 0]
]
alias banscreenshot [
banssfilename = (concatword (at (timestamp) 0) - (at (timestamp) 1) - (at (timestamp) 2) _ (at (timestamp) 3) - (at (timestamp) 4) - (at (timestamp) 5) )
screenshot (concatword screenshots/bans/ ($banssfilename) .bmp)
]