Yes. It's a bit of an Easter Egg, but it is documented.
@rclick print-hi @args=print-hi
g.cls()
print('rclick hi: %s' % c.p.h)
print('dir()', dir())
print(script_args)
print(script_gnx)
prints:
rclick hi: @rclick say-hi @args=say hi
dir() ['__builtins__', '__name__', 'c', 'g', 'input', 'p', 'script_args', 'script_gnx']
['say hi']
ekr.20210414174148.1
The calling tree is:
sc.handleAtRclickNode (handles @rclick)
sc.getArgs (handles @args)
sc.registerAllCommands
c.executeScript
c.executeScriptHelper (injects script_args and script_gnx)
HTH.
Edward