This plugin should do what you want. I couldn't figure out how to immediately remove the hook without it messing up Engineers so if you use takehook command the hook stays until respawn.
Maybe somebody can tell me what slot number the action slot is. I can get it to remove from slot 5, but like I said that messes up Engineer PDA.