Thank you Dawsonk for your advice, and thanks renderhjs, I will definitely try this out when I get back from school. This has helped me hugely, and looks like it should fix what I'm doing. I've already got quite a lot of the information you've stored in the array, but in my case it's in functions, this should not only help with the ammo, but help tidy up my code!

Thanks again to both of you, I will post how I get on.