RunFunc
Runs a function script with arguments.
Syntax
RunFunc script_to_run values_to_pass...?
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
script to run | Yes | Name of a script to create | |
values to pass | No | Any value | The values that will be passed to the function. These values must be compatible with the variables the function is expecting. |
Possible errors
- Provided script is not a function
- Provided arguments are incompatible with the function
On a running server
Use serhelp RunFunc to inspect the reference generated by your installed SER version.