It seems the getdynamicvarnames() function chokes when the variables have underscore ('_') characters in them :x
PHP Code:
temp.varnames = clientr.getdynamicvarnames();
for(temp.vname: temp.varnames) {
echo(temp.vname);
}
Ignores any variables with _ in the name (exact names of variables being ignored are: mud_hp, mud_mp, mud_maxhp, mud_maxmp, mud_level, mud_class, mud_exp, mud_exptolevel)