i3who.c

ds2.1.1/lib/cmds/creators/i3who.c · 386 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

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

inherit LIB_DAEMON;

mixed cmd(string str) {
    foreach(string mud in INTERMUD_D->GetMuds()){
	SERVICES_D->eventSendWhoRequest(mud);
    }
    return 1;
}


void help() {
    message("help", "Syntax: i3who\n\n"
      "Queries each active mud for rwho information.\n\n",
      this_player());
}                                                    

Site Stats

Snippets: 1791
Codebases: 571