QUERY_AUTO_LOAD(L)

NAME
	query_auto_load - save items after quitting

SYNOPSIS
	string query_auto_load();

RETURN VALUE
	The return should be of the format "[filename]:[arguments]", without
	the brackets.  In almost all cases, [filename] will be the filename
	of the object in which the function is defined. [arguments] will be
	a string.

DESCRIPTION
	The query_auto_load() function is defined when you wish an item
	to be save-able across sessions of play.  If the player is carrying
	the item when he or she quits, it will then be cloned anew the next 
	time the player logs on.

NOTES
	A colon (:) must be included in the string.  If no special arguments
	are needed, simply end the string with a colon.  Any string given
	to the [arguments] list will be passed to 'init_arg' in the object
	when it is cloned the next time a player logs on.

	Autoloading objects should be get-able and not droppable.

	Do not include the string "^!" anywhere in the return.  If you do,
	the object will not autoload.  In other muds, there is a popular
	bug associated with this string.

	Consult the rules before making an object that players can access
	autoloadable.

	The most common autoloaders are guild and club memberships,
	wiztools, and certain curses.

	The filename of the object should be the name of the master object
	(that is, for example, /players/earendil/foo and not 
	/players/earendil/foo#1234).

SEE ALSO
	init_arg(L), drop(L), get(L)

Help topics available:
add_hook add_weight can_put_and_get clean_up drop
extra_look get heart_beat id init
init_arg is_armour is_money is_weapon long
query_auto_load query_hook query_long query_name query_prevent_move_from_statue
remove_hook reset set_long set_name set_short
short

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 84 since January 2020.
This file was last modified: June 2000.