_archshout.c

nightmare3_fluffos_v2/lib/cmds/adm/_archshout.c · 467 B

From the archive nightmare3_fluffos_v2.zip

Download the archive   « Back to the archive contents

#include <std.h>

inherit DAEMON;

int cmd_archshout(string str) {
    if(!str) return 0;
    if(!archp(previous_object())) return 0;
    message("my_action", "You shout: "+str, this_player());
    shout(this_player()->query_cap_name()+" shouts: "+str);
    return 1;
}

void help() {
    message("help",
        "Syntax: <archshout [message]>\n\n"
        "Allows an arch to shout without languages."
        "\n\nSee also: broadcast, shout", this_player()
    );
}

Site Stats

Snippets: 1791
Codebases: 571