Not my script.

Did you read the FAQ on using UDFs?

UDFs are functions written by us (or you ) - you need to include them in your script either directly or by using CALL to load them.

The simplest way is to use the links in Bryce's post above to open the UDF page, then cut-and-paste the code into your own script.