How to Use Scripts?
#2
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)
Thanks given by:


Messages In This Thread
How to Use Scripts? - by MR.SAXOBEAT - 24 Dec 11, 11:30PM
RE: Scripts - by OpenSource - 24 Dec 11, 11:38PM
RE: Scripts - by MR.SAXOBEAT - 24 Dec 11, 11:41PM
RE: Scripts - by OpenSource - 24 Dec 11, 11:43PM
RE: Scripts - by MR.SAXOBEAT - 24 Dec 11, 11:47PM
RE: Scripts - by DES|Anderson - 25 Dec 11, 12:03AM
RE: Scripts - by OpenSource - 25 Dec 11, 01:34AM
RE: Scripts - by Roflcopter - 26 Dec 11, 04:05PM
RE: Scripts - by OpenSource - 31 Dec 11, 11:23PM
RE: Scripts - by X-Ray_Dog - 01 Jan 12, 01:27AM
RE: Scripts - by macm - 25 Dec 11, 11:58AM
RE: Scripts - by Waffles - 25 Dec 11, 02:32PM
RE: Scripts - by Sarin - 25 Dec 11, 07:52PM
RE: Scripts - by DES|Anderson - 31 Dec 11, 06:59PM
RE: Scripts - by #M|A#Wolf - 26 Dec 11, 03:12AM
RE: Scripts - by MYSBRAH - 26 Dec 11, 03:57PM
RE: How to Use Scripts? - by V-Man - 27 Dec 11, 05:39PM
RE: How to Use Scripts? - by Cho - 29 Dec 11, 02:44AM
RE: How to Use Scripts? - by OpenSource - 01 Jan 12, 01:44AM
RE: How to Use Scripts? - by X-Ray_Dog - 01 Jan 12, 10:24AM
RE: How to Use Scripts? - by Bukz - 01 Jan 12, 12:40PM
RE: How to Use Scripts? - by Cemer - 02 Jan 12, 05:01PM