I'm using RPC and trying to determine if my script is being called as a command or subroutine, but Parse SOURCE always returns "SUBROUTINE" as the 2nd word. In CMS the 2nd word was "COMMAND" if the script wasn't invoked as either a function or subroutine, so how can I determine this in Reginald?
There's no "COMMAND" in Reginald. RPC (and RxLaunch) break apart args passed to a script. So, you'll only ever see "SUBROUTINE" (or "FUNCTION" if a return value is required).