You tried it out yourself?
I hate people like you, why do you even post here if you're not willing to learn. You should stop being a selfish prick and realize that we aren't going to write the loving code for you, nor was MARBLE MAN giving you code you can directly copy and paste into your script, he was giving you an example of what you should do so you can
learn how it works, and even took the time to
explain each line to you.
Come on now, this is the
second loving time you've done stuff like this.
How many times do we have to say it:
This is coding help, not coding sweatshop.