How to keep the text variable after a function has finished
By default, text variables created within a function are discarded after the function has finished.
If you want to create a text variable within a function that persists after the function completes, then you need to explicitly set the variable scope to global. ᅠFor example:
[text scope=global]value=500[/text]
-Scott Anderson

