Quote:
Originally Posted by Chompy
use
PHP Code:
for(temp.i : getstringkeys("clientr.mud_")){ clientr.(@ "mud_" @ temp.i) = ""; }
Or just use makevar()
|
The first part is what I was suggesting, but as for having to resort to using makevar() there isn't really a reason for it. It should be able to do what it's supposed to the first time without having to make things more complicated (though it would still likely work).
I recall reading a thread not to long ago in this same section "why do scripters make things to complicated" or something similar. This topic is probably an appropriate answer.