Actually that explains it. The tutorial code I was using doesn't have the comma there either now that I look. Shows what I get for blindly trusting people on the internet eh?
But thank you, thank you very very much. I spent three days tearing apart the tutorials, copying and re-copying the code. I thought I was an idiot. (Well, still am but for different reasons)
Thanks. I can finally get on with the mod
E: Oh yeah...github. I shouldve thought of that. I will be sure to keep that in mind in the future. Sorry for that