
command(3)            LPC Library Functions            command(3)

NNAAMMEE
       command() - execute a command as if given by the object

SSYYNNOOPPSSIISS
       int command( string str, object ob );

DDEESSCCRRIIPPTTIIOONN
       Execute `str' for object `ob', or this_object() if `ob' is
       omitted.  Note that the usability of the  second  argument
       is  determined by the local administrator and will usually
       not be available, in which case an error will result.   In
       case  of failure, 0 is returned, otherwise a numeric value
       is returned, which is the LPC  "evaluation  cost"  of  the
       command.   Bigger  numbers mean higher cost, but the whole
       scale is subjective and unreliable.

SSEEEE AALLSSOO
       add_action(3), enable_commands(3)

Majik                      26 Jul 1997                          1

