Hey,
all you should need to do is copy the code and paste it in notepad. Then click on File and Save As. Under the save as type, select All Files. Then for the name, save it as the name of the game with the extension .asl.
Ex:
"Hello World.asl"
Then it should work just fine.

Hope this helps.