POL scripts are written in eScript, a proprietary language. eScript is a fully-bracketed language with some similarities to Pascal.
Most scripts will make heavy use of the UO Functionality Module, which provides functions for manipulating objects in the POL world.
A Class Reference to POL objects may be useful.