\label{Script_Variables} \begin{itemize} \item \$external::target - set to the current target the xml parser is parsing for \item \$external::part - set to the \emph{id} of the current problem $<$part$>$; zero if there are no $<$part$>$ \item \$external::gradestatus - set to the value of the current resource.partid.solved value \item \$external::datestatus - set to the current status of the clock either CLOSED, CAN\_ANSWER, CANNOT\_ANSWER, SHOW\_ANSWER, or UNCHECKEDOUT \item \$external::randomseed - set to the number that was used to seed the random number generator \item \$pi - set to PI \item \$rad2deg - converts radians to degrees \item \$deg2rad - converts degrees to radians \end{itemize}