// JavaScript Object Macro Examples
! version = 2.0
> object setvar javascript
// Example of how to get the current user's ID and set
// variables for them.
var uid = rs.CurrentUser();
var name = args[0];
var value = args[1];
rs.SetUservar(uid, name, value);
< object
+ javascript set * to *
- Set user variable <star1> to <star2>.<call>setvar <star1> <star2></call>
I tried the example provided
but it only ends in panic