The script requests/brainstorming thread!
I don't think cubescript uses booleans, so you would do this using something like this:
bind <KEY> [ if (= $talk 1) [ talk = 0 ]  [ talk = 1 ] ]
this will allow you to press a key and toggle between 1 (on) and 0 (off)
there is also a way to save variables to saved.cfg, so it will remember your toggle after closing AC, but i don't know it.

EDIT: wow, i should really concentrate on one thing at a time.
Thanks given by:


Messages In This Thread
RE: The script requests/brainstorming thread! - by Lantry - 06 Mar 11, 12:54AM