LPC Library Functions: commands

NAME

commands() - returns some information about actions the user can take

SYNOPSIS

mixed *commands( void );

DESCRIPTION

Returns an array of items describing the actions that are available to this_object(). Each element of this array is itself an array with the following four elements:

  • the command itself (as passed to add_action()).
  • the set of flags (passed to add_action() as the third argument, often defaulted to 0).
  • the object that defined the action.
  • the function to be called, or "<function>" if it is a function pointer.

Note that this efun is not available if the driver flag NO_ADD_ACTION is defined.

SEE ALSO

add_action(), enable_commands(), disable_commands()

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS