VBScript
This is a VBScript constant defined to the value of 2. This constant will be used to set the Scope of a persistent variable to the user scope.
Variables the user scope are visible/accessible for all scripts of the current script user.
This is the default scope of every new persistent variable if being used within a call routing script. If being used outside of a call routing script (new in v1.1.0) SCOPE_GLOBAL is the default scope.
Dim MyVariable Set MyVariable = new PersistentVariable MyVariable.Name = "Welcome" MyVariable.Scope = SCOPE_USER
As the User scope is the default scope you can shorten your code to:
Dim MyVariable Set MyVariable = new PersistentVariable MyVariable.Name = "Welcome"
The above examples define a persistent variable Welcome in the User scope. This variable is visible/accessible for all scripts of the same user.
Another script of another user which defines also a persistent variable Welcome does not interfere.

By Tom Wellige