From the NannyMUD documentation

LAST CHANGE

2001-01-06

FUNCTION


NAME

        init_arg - parse a string passed by an autoloading object

LOCATION

	In certain autoloading objects.

SYNTAX

	void init_arg(string str);

DESCRIPTION

	Autoloading objects save a filename and an optional string (see
	query_auto_load(L)).  In most cases that string will be "".  If it
	is anything other than "", then when the autoloader is cloned when 
	the player logs on, the optional string is passed to init_arg().

NOTE

	Use this to save certain certain flags, conditions, and settings.
	
	If you use some sort of separator for options saved, make sure that
	players cannot set these tokens themselves.  The "^!" token is
	reserved for the separating of autoloaders in the player object.  Use
	of it will cause your object not to autoload.

EXAMPLE

	A completely arbitrary and useless example:

	/* This takes a sentence and prints out words on separated lines
	   when the player logs on */
	void init_arg(string str) {
	   write(implode(explode(str, " "),"\n"));
	}

SEE ALSO

        query_auto_load in lfun/basic/query_auto_load