27 Dec 11, 05:39PM
(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:
[SELECT ALL] Code:
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]