enable_commands

final_realms_fluffos_v1/lib/doc/driver/efuns/properties/enable_commands · 790 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"allow object to use 'player' commands
.DT
enable_commands
Discworld driver help
enable_commands

Name
.SI 5
enable_commands() - allow object to use 'player' commands

.EI
Synopsis
.SI 5
void enable_commands( void );

.EI
Desription
.SI 5
enable_commands() marks this_object() as a living object, and allows
it to use commands added with add_action() (by using command()).
When enable_commands() is called, the driver also looks for the
local function catch_tell(), and if found, it will call it every time
a message (via say() for example) is given to the object.

.EI
Bugs
.SI 5
Do not call this function in any other place than create() or strange
things will likely occur.

.EI
See also
.SI 5
this_object(3), living(3), add_action(3), command(3), catch_tell(l),
say(3), create(l)
.EI

Site Stats

Snippets: 1791
Codebases: 571