A few errors with code

I have been having a few errors with code sourced online. By any chance does anyone know how to remove these errors while still making the code functional.

http://pastebin.com/NzWHwfVi
closed account (48T7M4Gy)
OK which error would you like to look at first?
Last edited on
It compiles fine thanks.
Topic archived. No new replies allowed.