
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: controls (99)
bind
Categories
script, controls
Parameters
- key (key): name of a key
- script (text): a script/command you want to execute when you press the key
Info
Bind a script to a key. Afterwards you can execute the script by pressing the key as often as you want.
For example:
bind "L" "say lol"
Now you can say "lol" by pressing "L".
CS2D does NOT automatically save your binds. All binds will be removed as soon as you quit CS2D. You can also use unbindall to remove all binds.
CS2D uses the file "sys/controls.cfg" to save the controls which have been set in the controls menu!
For example:
bind "L" "say lol"
Now you can say "lol" by pressing "L".
CS2D does NOT automatically save your binds. All binds will be removed as soon as you quit CS2D. You can also use unbindall to remove all binds.
CS2D uses the file "sys/controls.cfg" to save the controls which have been set in the controls menu!






