1. \ScriptEnv{environment} {prefix} {postfix}

This command defines a LaTeX environment

\begin{environment}
body
\end{environment}
which outputs its body in plain format, between the specified prefix and postfix.

2. \ScriptCommand{\command} {prefix} {postfix}

This command defines an environment

\command
body
\End command
which outputs its body in plain format, between the specified prefix and postfix.

3. \JavaScript...\EndJavaScript