_tap.c

tmi2_fluffos_v2/lib/cmds/adm/_tap.c · 273 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

#include <net/i3.h>

int cmd_tap(string args){
    if(!args){
	write("Syntax: tap <level>\n");
	return 1;
    }
    if(!adminp(this_player())) return 0;
    I3_DAEMON->set_debugging(to_int(args), this_player());
    write("DNS tapped at level "+args+"\n");
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571