Greetings, i am making a new script to chatBox, but i have some problem making a script to binds with my new chatBox.
The user when want make the bind (example: /bind 4 drawLineInScreen colorR colorG colorB) i take the string drawLineInScreen, but when i want make te bind using bindKey, there are 2 options.
option 1
bool bindKey ( player thePlayer, string key, string keyState, function handlerFunction, [ var arguments, ... ] )
option 2
bool bindKey ( player thePlayer, string key, string keyState, string commandName, [ string arguments ] )
In option 1 i can add 1 or more arguments, in option 2 i can add 1 only argument.
The data than i have is the commandName,
I need the function to my commandName and i can use very arguments with the option 1.
PLS HELP ME.