in reply to Understanding the scripting

Context, explaining what the author is doing. As an exercise, if you want to learn/understand this it's really not as bad as may seem at first. I'd suggest you attempt to comment this code yourself, referencing the documentation when you get stuck.

Update: see also

Replies are listed 'Best First'.
Re^2: Understanding the scripting
by ameezys (Acolyte) on Apr 02, 2019 at 08:23 UTC
    Will the syntax change? As the code is quite old so whenever I try to refer the internet in order to understand somehow I couldn't find the example similar to it so I'm confused.

      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.