Programming of Skydroid -T12 transmitter/ ardupilot /mission planner for triggering a single function

I want to have emergency stop switch as a function for assigning any channel 9-12 but i do not want to trigger it accidentally, I want it to trigger like when i press channel 12 5 times then only the emergency stop switch need to work.
The equipment i am using
FC: CUBE ORANGE
Software: Mission Planner
Transmitter: Skydroid T12
BY any means can i acheive the sequence either by mission planner or ny skydroid T12