flexscript rewritten and is better kinda command list: echo x (prints x) type x (prints x slowly) clear [[-a, --all], [-l --last]] (clears console) mem <push x, read, clear, undo> (push x to memory, read commands from memory, clear memory, remove last item from memory) special: - variable setters x = y sets variable x to value y, supports whitespace for value x += y increments variable x by y x -= y decrements variable x by y x *= y multiplies variable x by y x /= y divides variable x by y x << [y] sets variable x to user input, y is the question, supports whitespace for question - variable getters to get a variable surround the variable by backticks (`), when your command is evaluated it will by replaced by the value of the variable, eg. "echo why my `object` so smol" will evaluate to "echo why my pp so smol" is the variable object is equal to pp. if variable is invalid it will be evaluated to the name of the variable. - args variable effects console behavior -d, --debug displays extra info -i, --input displays user input -e, --error displays errors
code by @Vix- based on https://scratch.mit.edu/projects/153718012/ gif of fs3 in action https://i.imgur.com/XOzoZaA.gif a rewritten version of flexscript, with a lot more functions/custom blocks. the main purpose of the rewrite is the two "base" functions; split and join, which almost everything in this project is based upon. one downside of this approach is that commands take longer to execute, especially in the initial "lexing" phase where it splits the user's input by each space.