Emulate CSS Bunnyhopping

How can I emulate CSS Bunnyhopping? I am talking about with sv_enablebunnyhopping 1 (command does not exist in garrys mod) and sv_airaccelerate 100 (still does not allow me to gain speed)

I want to be able to gain nearly infinite speed, simply holding W in the air will bring you to your current defined walk or run speed, and it seems to be completely connected to those values. How can I make it like in CSS, pre-orangebox?

Add me on Steam; I rewrote the movement system in Lua but it is pretty experimental at the moment.