GrowlZ:
Well, I say function, but it would be used as more of a checking tool -
hasfile(filename).
NPC Code:
Example:
if (playerenters){
if (!hasfile(bigmap2002.txt)){
say2 You need the map file to play properly!;
openurl http://www.domain.com/download/bigmap2002.txt;
}
}
Basically, for checking if Graal can find the file specified in any of its folders. It'd be useful for (examples:) checking for tilesets, maps, server-specific music etc. What does everyone think?