Please try to stay inline with the rules/guidelines on About the Scripting Support category. What have you done to try to fix the issue, what errors occured, code, etc.
Here’s a sort of proto structure of what you should be doing for the code though:
- a table full of the functions for commands, name, description, calls, rank, etc.
- a function that adds a command to that table
- Chatted event that does string manipulation to check if it’s a command and what command to run.