Using OTScript Code in Templates
You have several ways to insert OTScript code in a template.
In this section:
About the Insertion of OTScript Code
Defining OTScript Methods in Templates