_tellblock.c

foundationI_fluffos_v1/lib/cmds/creator/_tellblock.c · 520 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

//      Tellblock
//      A wiz utility to block tells only by Gregon@Nightmare
//      based on _codeblock.c by Descartes of Borg.
//      06Nov1993


#include <std.h>

inherit DAEMON;

#define CHANNELS "bin/daemon/channels"

int cmd_tellblock() {
    this_player()->set_blocked("tell");
    if(this_player()->query_blocked("tell")) write("Tellblock on.\n");
    else write("Tellblock off.\n");
    return 1;
}

void help() {
    write("Syntax: <tellblock>\n\n"+
        "Toggles the blocking of tells on and off.");
}

Site Stats

Snippets: 1791
Codebases: 571