flee.c

ds3.0/lib/cmds/players/flee.c · 424 B

From the archive ds3.0.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;
}

string GetHelp() {
    return ("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.");
}

Site Stats

Snippets: 1791
Codebases: 571