hello, i am remaking minecraft in 2D and i don't know how to make the command system. i use a text input as chat and a text area as chat log. to execute a command, you should type
/functionName param1 param2 param3 etc...
idk how to code that,
thank u if you try to help me (and sorry for my bad english)