How to Use Scripts?
#14
(24 Dec 11, 11:30PM)MR.SAXOBEAT Wrote: hello to anyone i need some help with installing scripts iun AC and making them work, can anyone post an instruction giued with screenshots please

Depends on exactly what your script is supposed to do, and when.
If you want your script to be run right away when you start up the game, Cleaner's advice about putting it in your autoexec.cfg file is right on.
If you want it to run when you press a button, then you should bind it in your autoexec file:
bind J [examplescript]

A script that makes you suicide all the time will really annoy your teammates as well as the other team, so if you use one, be prepared to be banned from several servers.
In the SVN, it would work like this:
[cubescript]
alias TakeMeDead [
if (<= (player1 health) 10) [suicide] []
sleep 50 [TakeMeDead]]
alias mapstartalways [TakeMeDead]
[/cubescript]
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