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

Documentation Area

Document Path: /doc/object/forbid_advance


Lfun:	forbid_advance - forbid a player to advance

Synopsis:
	int forbid_advance()

Description:
	Define this function in an object that players can carry,
	if you want to prevent a player from advancing in a guild.

	This feature can be used to implement loans.

Return value:
	If the return value is 0, the player may advance, anything else means,
	that player is not allowed to advance. In this case the function
	should inform the player, why he can not advance and what he should do.

Examples:
	forbid_advance() {
		write("You still owe the bank of Nemesis money!\n");
		return 1;
	}


This page was generated in LPC

Imprint / Impressum