.\"execute a command as if given by the player .DT command Discworld driver help command Name .SI 5 command() - exectue a command as if given by the player .EI Synopsis .SI 5 int command( string str ); .EI Description .SP 5 5 Execute <str> as a command given directly by the player. Any effects of the command will apply to the current object. There was a second argument, which is not supported any longer. Return value is 0 for failure. Otherwise, a numeric value is returned, which tells the evaluation cost. Bigger number means higher cost. The evaluation cost is approximately the number of of machine code instructions executed. .EP See also .SI 5 enable_commands(3) .EI