.DT
do_command
DW_wibble creator help
do_command
.SH Name
.SP 5 5
do_command -  This method allows you to control the npc and get it to do actions.
.EP
.SH Syntax
.SI 5
int do_command(string words)
.EI
.SH Parameters
.SI 5
%^BOLD%^words%^RESET%^ - the action to preform
.EI
.SH Defined in
.SI 5
/obj/monster.c
.EI
.SH Description
.SP 5 5
This method allows you to control the npc and get it to do
actions.  This can be used for npc control and inteligence.
Be very careful with this command! This does not go through any
command queue like players have and so NPCs can end up doing
tons of commands in very short order.
If you're trying to make your NPC act like a player use
eue_command() instead
.EP
.SH Example 1
.SI 5
ob = clone_object(NICE_HAIRY_APE);
ob->do_command("'I am a hairy ape!");
ob->do_command("emote apes around the room.");
.EI
.SH See also
.SP 5 5
init_equip(), init_command()
.EP