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

Documentation Area

Document Path: /doc/efun/in_input


Name: in_input - query if a player is in input mode

Syntax:
	int in_input(object ob);

Description:
	The in_input efun returns whether a player is in input mode. This
	mode is normally indicated by a different prompt (as the default '>')
	and is used by the more command or the post office for writing mails.
	The input mode is normally started by the in_input efun.

	If a player is in input mode or is editing a file (see in_ed) you
	cannot start a new input_to until the player has left the last one.

	In-input with in_ed is good to find out if a person is busy and you
	should better not disturb him. The people command usually shows
	information produced from these efuns.

Return value:
	If the player is in input mode, 1 is returned, else 0.

Examples:
	is_in_input = in_input(this_player());

See also:


This page was generated in LPC

Imprint / Impressum