Script functions You can use pre-defined script functions in your scripts. A script function is a portion of code, which performs a specific task and is relatively independent of the remaining code. Built-in script functions There are a several built-in script functions that you can use. See Built-in script functions. User created script functions You can also create your own script functions. See Function files.