From the NannyMUD documentation

LAST CHANGE

2001-12-22

FUNCTION


NAME

        party_follow_verb - Let the party object work with odd verbs.

LOCATION

        In rooms that may be entered by livings.

SYNTAX

        int party_follow_verb(string verb, string args)

DESCRIPTION

        It may sometimes happen that your room has an exit or command
        that causes movement (something like 'climb ladder' perhaps).
        If this command does not work with party follow you can add
	this lfun to your room to make it work.

	'verb' is the verb the player used when he did the command as
        returned by the efun query_verb(). In the example 'climb
        ladder', it would be 'climb'.
	
        'args' is the argument to the command. It would be 'ladder'
        from 'climb ladder'.
        
        A return value of non-zero means that the party object should
        make anyone who is following the leader do the command as
        well.

EXAMPLE

        inherit "/std/basic_room";
         
        void reset(int arg)
        {
          ::reset(arg);
          if(arg)
            return;
          set_light(1);
          add_property("outdoors");
          set_short("testroom");
          set_long("Testing room.\n");
          add_command("launch fishing boat","@cmd_launch()");
        }
 
        int cmd_launch()
        {
          this_player()->move_player("into the boat",
                                     "/examples/room1");
          return 1;
        }
 
        int party_follow_verb(string verb,string args)
        {
          if (verb == "launch" &&
	      args == "fishing boat")
            return 1;
        }