Woops I'll update the caps later today.I think I forgot to put in a global variable.
If You make a double jump global var that equals zero when you tap for the second time that would say the d-jump is on.
If you then equal the d-jump global variable to 1 (off) It will deactivate the d-jump.
After that you then have to reactivate it by putting a 'wait' event to delay the reactivation then turn the double jump global var to zero.
Zero means On.
One means off.
You have to associate the global var that equals zero to the event that doubles jump.