i'm looking how to create functions. C++ has function. I have some code that i need to be called in my script a couple of times but i dont want to just make copys of the code. If someone could point me to some help or tell me the syntax that would be great.