VBScript
This property sets the scope, i.e. the visibility, of a persistent variable. It takes a numerical value from 1 - 3. Any other values will be ignored.
If you omit this property the default scope is used, which is the user scope. in case you use the persistent variables with a call routing script. If you use them outside of a call routing script (new in v1.1.0) the default scope is the global scope.
For convenience purpose there are three VBScript constants defined for the three available scopes: SCOPE_NAMESPACE (1), SCOPE_USER (2 - default) or SCOPE_GLOBAL(3).
Dim MyVariable Set MyVariable = new PersistentVariable MyVariable.Name = "Welcome" MyVariable.Scope = SCOPE_GLOBAL
The above example set the scope of the persistent variable Welcome to global, meaning that this variable is visible and accessible from all scripts of all users.

By Tom Wellige