Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   GrowlZ: New "function"? (https://forums.graalonline.com/forums/showthread.php?t=36493)

screen_name 08-24-2002 03:51 AM

GrowlZ: New "function"?
 
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?


All times are GMT +2. The time now is 12:36 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.