snoopreport.c
ds2.10/lib/secure/cmds/admins/snoopreport.c · 330 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
#include <lib.h>
#include <daemons.h>
inherit LIB_DAEMON;
mixed cmd(string args) {
string ret;
if(!this_player() || !archp(this_player())) return 0;
ret = SNOOP_D->Report();
if(check_string_length(ret) > 0) this_player()->eventPrint(""+ret+"");
else print_long_string(this_player(),ret);
return 1;
}