Quote:
Originally Posted by xXziroXx
If I wanted to do it with an object, I would do:
PHP Code:
temp.obj = findNPC("foobarbaz");
obj.string_foobar = "lawl"; // Just to show a string example.
obj.string_lolwat = "baz"; // Just to show a string example.
for (temp.foo: getstringkeys("obj.string_")) {
echo(foo SPC "[" @ makevar("obj.string_" @ foo) @ "]");
}
|
Hmm, you're right, but you can't do obj.getstringkeys()
But yeah.. I probably read through your script to fast
