i’ve toyed around with the interactive terminal template for a bit, but the commands there seem to be isolated from each other, and can’t contain spaces. is it possible to make commands that work like, say, a “look” command that on its own displays the list of subcommands connected to itself (“look” might display “look left”, “look right”, and “look up”), and then each of those subcommands can have its own output?
thank you in advance for answering! :0
See this demo generator.
You can add sub commands to a command by adding a space and input i.e.
command (input)
.For example, on the
name
command, to set a name you will do something likename john
which will set the name tojohn
. But if you doname
only, it will set thename
to just blank. Thus, the sub-command/input isjohn
.On that demo, instead of having
output = ...
I changed it to be a list with Dynamic Odds. It then checks theinput
. If the input is blank, it will then output the correct syntax for the command. If the input is valid, it will then output the appropriate output.