GetVariableByName
Returns the value of a variable with the given name and prefix.
Syntax
GetVariableByName "variable_name"
Returns
unknown value
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
variable name | Yes | Any text e.g. "Hello, World!" |
Possible errors
- Provided argument is not a syntactically valid variable name.
- Specified variable doesn't exist
On a running server
Use serhelp GetVariableByName to inspect the reference generated by your installed SER version.