command script (or cmd script for short) is very simple programming language that runs on the Lua interpreter, the language is similar to minecraft commands. it is currently in Alpha 1.1.8
- added /luaver command, it prints the version of lua the user has
- added /ghublnk command, it prints the github link to this repo
- /ghublnk -- prints github link to this repo
- /stop -- kills all processes and exits the terminal
- /rand -- prints out a random number from 0 to 1
- /say insert text here -- prints out what ever you put after '/say '
- /sleep insert number here -- this command will do nothhing for the amount of time (in seconds) you put in
- /help -- doesn't actually give you any help, I just put this here because I felt like it
- /clr -- clears the console
- /console -- goes back to the Lua console, this command cannot be undone
- /ver -- displays the version of cmd script you are using
- /luaver -- prints what version of lua the user has
- /add
- /subtract
- /div
- /multiply -- I don't think I need to explain what these do.
(Note: the math commands are a bit weird, this is something I will fix later or maybe not at all)
run on repl.it : https://repl.it/@Planebagel/cmd-script#main.lua
if you have a question, want a new feature added, etc. Create an issue with the appropriate label