Earlier i was scripting out a system for a battle thingy.
anyways, i was wondering if there is a way to check serverside if a fileexists or not?
I was doing something like
NPC Code:
if (fileexists(level.nw)) {
//
}else{
//
}
In the else, i was using copylevel so that it could copy the level to the new folder.
I even tried using foldername/levelname.nw in the fileexists, but it didnt work either, as the top condition was all that was returned.
If there is a way to do this without all the trouble, i really cant figure it out, thanks for help!
Edit:
picked up fileexists from this thread
http://forums.graalonline.com/forums...ad.php?t=50863