_dbxwhere.c

foundationI_fluffos_v1/lib/secure/cmds/creator/_dbxwhere.c · 462 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

/* Beek - 10/4/94 */
#include <std.h>

inherit DAEMON;

int
cmd_dbxwhere(string str) {
    mapping error;
    object ob;
    int i;

    if (str) {
        ob = find_player(str);
        if (!ob) {
            write("No such player.");
            return 1;
        }
    } else
        ob = this_player();
    if (error = (mapping)ob->query_error()) {
        printf("%s\n", master()->standard_trace(error, 1));
    } else write("No error.\n");
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571