Page 1 of 1

how to have more than one bind?

PostPosted:Wed Sep 12, 2012 1:56 am
by TheDoctor
ok so i was on server and a kr member (dont remember who) was talking about having more than one bind on only one key.plz it would tremendously help me.and also he was saying something about these things here " so plz tell me how i can have more than one bind on only one key plz once again.



thx


:D

PostPosted:Wed Sep 12, 2012 2:22 am
by John
You can't have multiple binds to one key in one configuration. You can write different configs and have the same keys binded differently between configurations.

PostPosted:Wed Sep 12, 2012 4:05 am
by Falcon
Also known as "scripts", config files can let you bind multiple commands to one key. Every time you press the key, the next command in the sequence will be executed. This post explains it a lot better, and in more detail: http://www.knights-reborn.org/forum/vie ... php?t=3031

Now, if you're looking to bind one key to do several different things at once, all you need to do is type in
Code: Select all
/bind (key) "(command); (command)"
etc etc. Obviously replace (key) with the key you want to put it on and (command) with the commands you want to use.

Hope that helps :)

PostPosted:Wed Sep 12, 2012 2:10 pm
by TheDoctor
thx :D

PostPosted:Wed Sep 12, 2012 2:21 pm
by Key
Falcon wrote:
Code: Select all
/bind (key) "(command); (command)"
Not 100% sure on this one, but I think you may need to throw some "wait" 's in there. You can only enter certain commands so fast. I might be terribly wrong :s.... I had this problem when I first started messing around with the technical side of JKA, and I remember I couldn't figure out why certain things weren't happening... until someone told me to add a "wait" in between each command.

--Edit--
Actually if it's a "say" command, I'm positive you'll need some "wait" 's in there.

PostPosted:Wed Sep 12, 2012 4:09 pm
by Falcon
Yeah, sorry. It depends on the command you're using though.