PDA

View Full Version : Binding Commands


Freddo_Z
02-25-2003, 02:16 AM
Hey,
I need help with binding commands to keys, i know about the /aminfo, but i find that the am___ commands dont always work. help me out if you know how to make them always work and if they will still be bound if i quit and restart the game. if you have any other ideas or help with any kind of keystroke binding, let me know.

Thanks
Freddo_Z

ksk h2o
02-25-2003, 03:37 AM
you can create a config file in your base folder. thats just a noteped document which you'll call whatever.cfg

inside the config file you can list all your binds. do not include the / before those emotes not:
bind I /amstupid
but:
bind I amstupid

you can make a the whole list of binds one after another in your cfg file. when in game you can type exec whatever.cfg to execute your config file and all the binds will be activated.

you can even go into the autoexec.cfg in the base folder and add the line:
exec whatever.cfg

this will make the config executed every time the game starts.

or you could put in:
bind F1 exec whatever.cfg

now all your binds will be put in once you press F1

you catch my drift...

Paradox1
02-25-2003, 04:20 PM
0oh ok now you can tell me this: How can you bind an ampsay -1 msg? (i'm using omni here) cause if i type \bind key ampsay -1 "all your base are belong to us" for example, then only the first word appears - 'all'. the same applies for names, if i was to type \bind key name "^1[BDC]^4 Enforcer Paradox1 ^1[HC]" then when i press it, only the [BDC] comes out although it is in red.
The problem seems to be spaces....

ksk h2o
02-26-2003, 04:17 AM
I dont know what is causing your problem. I dont play omnimod so I am not familiar with the -1 amsay thingy.

To set your name, I use:
bind KEY set name "^1This ^2Is ^3My ^4Name"

Paradox1
02-27-2003, 04:30 PM
yeah but it doesnt like the spaces when i type that. it just shows everything before the space and nothing after :S

Orbitšl
02-27-2003, 05:56 PM
Use quotation marks:

i.e. bind x say "All your base belong to us"
(notice how the actual message is inside quotes here?)

Same goes for names.
Bind z name "Some silly Jedi" ;)