PDA

View Full Version : HOW 2 ACTIVATE bind?


Bura
04-15-2004, 04:15 PM
HOW TO ACTIVATE BIND??? CAN SOMEONE GIVE ME AN EXAMPLE???

Newby
04-15-2004, 04:18 PM
How to activate binding of keys? Or how to bind an action to a key?

If it's the latter then do the following:

Console -> "\bind <key> <action>"

If I remember correctly that is how you do it. I'm not sure which way the slash goes though, since I use '\' and examples use '/' >_<

Anex
04-15-2004, 05:04 PM
/bind f5 "say hello"

Then by pressing f5 while in a server, you will say hello.

This is a simple example; it can be more involved depending on what you want to do.

Bura
04-16-2004, 03:45 AM
ThAnkS!
But, when i write in console /bind o "Good job", I get the responce:
"Unknown cmd Good"
What was that???

Jedi_Pimp
04-16-2004, 08:06 AM
ThAnkS!
But, when i write in console /bind o "Good job", I get the responce:
"Unknown cmd Good"
What was that???

READ WELL THE POST ABOVE BY ANEX !

maybe you didnt understand what he said altho its very clear

/bind <key> "say whatyouwant"

output : whatyouwant

Bura
04-16-2004, 09:31 AM
Thanks everyone!!!
I got it!!!

DUTCH
04-16-2004, 09:43 AM
But how to make an Rcon console command??
I've made one before and it works but i can't remember how i made it! :?

Jedi_Pimp
04-16-2004, 10:04 AM
But how to make an Rcon console command??
I've made one before and it works but i can't remember how i made it! :?



/bind F5 "rcon map_restart"
or
/bind F5 "toggleconsole; rcon map_restart"

now both work and both end up with the same result ...

for more info read these posts:
http://www.codadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=229&highlight=binds

http://www.codadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=245