/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.
TrayExecByTray triggers whatever sits in a given tray and slot, both zero-indexed. Because it names the position rather than the ability, the same bind survives every ship swap and loadout change.
/bind q "+TrayExecByTray 0 0"