So I have a custom block that accepts a command and a single upvar. Now, the command doesn't have the required var to run so when I say (upvar) for (2) secs it says "upvar", not the value the upvar was given. I'm completely lost here, can someone help?
NOTE: i realised you can set [upvar arg name V] to [cool value] but i'd still want to add an arg to the cmd cuz im planning to call it outside of the block where (upvar arg name isnt really defined.
I solved my issue!
So I created a ring with an argument, set the upvar to the arg's value and called the command. Here's an example:
Calling add command /[idfk] with args ((args)) {
say (args) for [2] secs
} :: control sets (very cool cmd) to ({set [b V] to (d)
run (c) $verticalEllipsis$addInput} input names: ((d)) $delInput$addInput) which then I can do run (very cool cmd) with inputs [hello] $delInput$verticalEllipsis$addInput which says "hello"!
Yeah I saw that; I was actually hoping someone else would take that one who'd do a better job of explaining than I would. If nobody comes along soon I'll look at it again though.