Function that returns an array of scripts that have the specified name. In most cases this will return an array containing a single script, but it's possible to have more than one script with the same name in the case where the scripts are in different folders.
"scripts_var" is a variable referencing a Scripts object.
|
"scripts_var" is a variable referencing a Scripts object.
|
Type | Description |
Script[] | Returns the scripts with the specified name or an empty array if there aren't any scripts with that name. |
Name | Type | Description |
name | string | The script name to search for. |