If you paste the code exactly as it is written above into your remotes, it should work. Make sure you type /remote on - alternatively there are many addon away scripts
here - have a look at the reviews and see if any of them have what you're looking for.