You can inject binds in-game with some coding. I'm positive there is a function that Black Ops uses to push dvars to the engine. The command would be something like:
Originally posted by another user
PushDvar proc dvar: DWORD
You can find that function by going to olly, search strings, search stuff like "+attack", set a bp, go in BO and attack, if olly pops, reverse it to the function. Easy as that ;o. Hint hint, you can make a easy aimbot with that

. That functions also sends a command to move your mouse. So what you do is get all player coordinates, move mouse to destination, and "+shoot" or some shit.