Quote:
Originally Posted by Chompy
PHP Code:
temp.levels.loadfolder("levels/*.nw", 0); for(temp.file: temp.levels)
can be one example
|
Wrong
Quote:
Originally Posted by Stefan
And temp.levels.loadfolder("levels/*.nw", true); for recursively checking all sub folders (what you wanted I guess)
|
Right. Thanks =D.. read pm
*Edit*
PHP Code:
// NPC made by Joey
function onActionGrab()
{
echo("TOUCHED");
temp.lines.loadlines("scripts/signs.txt");
for (temp.var: temp.lines) echo(temp.var);
}
loadlines doesn't work on levels?