So I am a normal scripter and I was wondering suppose I make a function, normally when I get scripts I find stuff in the parenthesis, but, how would u know what that means: For example....
function somethingrandom(something)
How would I know what the something is? Would I need to define it?
This is pretty simple, let's say you have this
function printThis(msg, anothermsg) print(msg) -- since 'msg' is technically a variable we can just print it out print(anothermsg) -- same with this one, it's a variable so we can print it out, however if the second argument wasn't specified when we called the function it would just print nil, since it's not defined. end printThis("hello world!", "hello world 2!") -- as you can see here in the arguments of the function we insert a string which will in the function be referred to as a variable. As you can see we have two arguments in this function, you can have how many you want.
This might not be the best answer, but should give you an estimate on how it works.