setexitcode
Command to set the exit code. Tera Term Mac does nothing.
setexitcode <exit code>
Remarks
Tera Term Mac does nothing for this command (it is accepted for compatibility with Windows macros).
Macros run inside Tera Term Mac, so there is no way to receive an exit code. The command does not cause an error.