(can be entered in the Quake2 console, aliases or in any say/say_team text)
NOTE: We have included an example.cfg file containing many CK commands. After launching, this file may be loaded by typing exec sound/ck/example.cfg at the Q2 console.
m: blah blah blah
Sends a private message to your CK teammates. It doesn't pass through the game server.c: blah blah blah
Sends a message to the mIRC basechannel. It doesn't pass through the game server.s: dirname/mysound.wav [ dirname/sound2.wav etc... ]
Broadcasts the sound from the directory 'dirname' inside the CK directory's 'sound' directory to your team. Multiple sounds given to this command will be played sequentially.NOTE: Sounds can also be located in the baseq2/sound directory.
Examples:
s: tundra/incoming.wav
s: elgin/ohcrap.wav elgin/imdead.wavNOTE: Special sound format needed for expanding CTF %vars. You have to send the %var to the server in a message like it normally expects. The sound will be parsed between the { } when the server sends the expanded variable back to your screen.
// tell my ctf team where i am
bind y "say_team { im at } { %l }"Assuming I'm by the rocket launcher, the server sends back...
(Player:) { im at } { near the rocket launcher }
which causes CK to try
s: im_at.wav near_the_rocket_launcher.wavd: #sec command
Delays a number of seconds before executing a command.Example:
// alert team when quad should respawn!
bind q "d: 60 s: getquad.wav"r: #count #sec command
Repeats a command #count number of times separated by a #sec delay.Example:
// drops 3 packs of rockets at 1 sec interval
bind r "s: elgin/dropping elgin/rockets; r: 3 1 drop rockets"p: time
Displays current time and elapsed time of your connection.p: say_team
Displays the value of CK's say_team variable.p: say_team 0
Sets CK for normal say_team messaging. Any say_team/messagemode2 text is sent normally to the quake2 server.p: say_team 1
Sets CK for private say_team messaging. Any say_team/messagemode2 text bypasses the server and is instead sent privately to your CK teammates.p: say_team 2
Sets CK for mIRC say_team messaging. Any say_team/messagemode2 text bypasses the server and is instead sent to your clan's mIRC basechannel (must have ckScript.ini installed in mIRC).p: say_team + or -
Increments or decrements the CK say_team variable.p: imat
Posts your launched server IP to the mIRC basechannel.