Creating sub-commands and using args
And now we are going to do a math command so lets create a command:
As you can see, this time we are not making it a function.
Now lets make the sub-command:
Yep. Also commands are able to have mutliple sub-commands
Lets use args now:
Args are able to be nil so use if.
Last but not least, now we are doing the cmdInterface:newMsg()
Now we are done!
Last updated