A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/lib/is_loaded


Simul efun: is_loaded - see if a file is loaded

Synopsis:
	int is_loaded(string path, string name)

Description:
	The is_loaded library call checks if a file is loaded, and if it is
	therefore another object in the game. The arguments are the path up
	to the filename and the filename itself.

	The reason for this, is the fact that is_loaded is mainly being used
	in the ls wizard command, which itself uses get_dir.

Return value:
	1, if the file is loaded, 0 if not.

Examples:
	int loaded;
	loaded=is_loaded("/players/nobody/", "castle.c");

Note:
	Only files with extension '.c' can be loaded.

See also:


This page was generated in LPC

Imprint / Impressum