I will admit this was a copy paste, with un-needed shit removed. I needed something to get a hand on byond code again.