Say you have code similar to the following:
mob
var
hp = 10
mp = 5
verb
ReadVar(varname as text)
src << "[varname] = [src.vars[varname]]"
You could access your mob's variables with the ReadVar verb. If you passed it "hp" you would get the message "hp = 10".
So that "src.loc.type" isn't used, and I still got exactly the same error. The:
is just for testing.
Secondly, I have changed usr to src in proc, thanks!
And thirdly, I did look up "vars[] list" in the F1 help, and what I found didn't really help me. Mainly because it wasn't exactly "vars[] list" and also because I didn't completely understand it.
~Ease~