/bind numpad4 "say Engaging"The foundation of every bind in this library. The key comes first, the command goes in quotes, and anything you can type into chat can be attached this way.
Picks up the closest hostile and opens fire. In space combat where targets move constantly, having this on a key beats clicking a moving ship every time.
/bind tab "Target_Enemy_Near $$ GenSendMessage HUD_Root FirePhasers"