I found a easier way of doing this that’s pretty flexible:
My solution is this:
rep_custom_command_test:
m "temp:
m \"$0_temp:u ${\"$""1--1:$""2\"}\"
$0_temp $*
um $0_temp
"
echo ${temp\ $1,$2}
This is going to be used in another attempt of gui_toolkit_pal, and this time I coded in printing of available of global arguments.