whoohoo! the trick is to add list begin and end group:
rb.Add(new TypedValue((int)RTLB, ""));
rb.Add(new TypedValue((int)RTSTR, "wowsers"));
rb.Add(new TypedValue((int)RTSTR, "wowsers4"));
rb.Add(new TypedValue((int)RTSTR, "wowsers2"));
rb.Add(new TypedValue((int)RTLE, ""));
result on command line is:
Command: !james3
("wowsers" "wowsers4" "wowsers2")
not that surprising really.
Now, I believe the getSym returns a resbuff without the list begin and end groups, unless its a nested list.
I just thought the reverse would be true, no need to wrap in a list, a resbuff is a list by default in this context.
I've seen like 20 examples doing lots of things with resbuffs, but no one ever set a var using a list, they were always feeding them into some other item than AcedPutSym.
thx