Double, triple, and a lot more jumping!

Hey, I've GE demo for a while now. I think it's great and all, but the character seems to be able to pull off an infinite number of jumps. (I'm using the caveman demo as a base when I finish making my guy) Is there any way to make that stop happening, or make it so he can only jump twice?