You should definitely follow some basic tutorials and come back to this once you can write basic routines that are called from scripts. This is quite a complex multi-routine hack that modifies the inner workings on the engine and is definitely not something I'd expect a beginner to be able to even understand - let alone modify. I'm willing to help you with any questions you have, should you decide to learn.