flee.c
ds2.10/lib/cmds/players/flee.c · 471 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
#include <lib.h>
inherit LIB_DAEMON;
mixed cmd(string str) {
if(!(this_player()->GetInCombat())){
write("You are not in combat.");
return 1;
}
this_player()->eventWimpy("go out");
return 1;
}
void help() {
message("help",
"Syntax: flee\n\n"
"If you need to leave combat in a hurry, and don't care which way you go.\n"
"This command doesn't work for creators.\n\n",
this_player() );
}