locate.c

dsI/lib/secure/cmds/creators/locate.c · 259 B

From the archive dsI.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <daemons.h>

inherit LIB_DAEMON;

int cmd(string who) {
    object ob;

    if(!who) return notify_fail("Locate whom?\n");
    SERVICES_D->send_locate_q(who);
    message("info", "Locate query sent.", this_player());
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571