VBScript
Within the download package of this project you will find an rse folder. This folder includes the file Store.rse. This is a small example script to demonstrate the usage of persistent variables. It shows how to store a value persistently into the scope of the current user.
The script creates a variable called Welcome for the current script user (Default Scope: User) and stores the name of a SwyxWare default announcement into it.
To install this script generate a new GSE rule, via the menu File | Import... select the file Store.rse, save the rule, close the GSE and make sure the rule is activated to give it a try.
The next example will read this persistent value and announce it.

By Tom Wellige