24 Dec 11, 11:38PM
(This post was last modified: 24 Dec 11, 11:42PM by OpenSource.)
I cant much about this, but maybe you should tell us what you want to do?
Anyway, i have a lot of scripts in my autoexec.cfg file.
So maybe you can just add them there.
[cubescript]
// Save a good game screenshot to /screenshot/goodgame/
alias goodgamescreenshot [
if ($screenshottype) [ ss_extension = ".jpg" ] [ ss_extension = ".bmp" ]
goodgamessfilename = (concatword (at (timestamp) 0) . (at (timestamp) 1) . (at (timestamp) 2) - (at (timestamp) 3) . (at (timestamp) 4) . (at (timestamp) 5) - (curmap 1) )
screenshot ( concatword screenshots/goodgame/ ($goodgamessfilename) $ss_extension )
]
[/cubescript]
Add to autoexec.cfg the key you wanna bind to it.
[cubescript]bind "KEY" [goodgamescreenshot][/cubescript]
(Replace KEY with the key you wanna bind)
Anyway, i have a lot of scripts in my autoexec.cfg file.
So maybe you can just add them there.
[cubescript]
// Save a good game screenshot to /screenshot/goodgame/
alias goodgamescreenshot [
if ($screenshottype) [ ss_extension = ".jpg" ] [ ss_extension = ".bmp" ]
goodgamessfilename = (concatword (at (timestamp) 0) . (at (timestamp) 1) . (at (timestamp) 2) - (at (timestamp) 3) . (at (timestamp) 4) . (at (timestamp) 5) - (curmap 1) )
screenshot ( concatword screenshots/goodgame/ ($goodgamessfilename) $ss_extension )
]
[/cubescript]
Add to autoexec.cfg the key you wanna bind to it.
[cubescript]bind "KEY" [goodgamescreenshot][/cubescript]
(Replace KEY with the key you wanna bind)