in reply to Re^2: Understanding the scripting
in thread Understanding the scripting

Well, there's more than one way to write code. You don't tell us what which part you've tried and failed to research. Regardless, since the author explains in his blog post what he wants to achieve, you could try and implement this yourself, rather than rely on someones code that you don't understand.