25 lines
722 B
C
25 lines
722 B
C
// /bin/adm/_broadcast.c
|
|
// from the Dead Souls mudlib
|
|
// like shout, except that it overrides ALL blocking
|
|
// created by Descartes of Borg 930823
|
|
|
|
#include <lib.h>
|
|
|
|
inherit LIB_DAEMON;
|
|
|
|
mixed cmd(string str) {
|
|
if(!archp(previous_object())) return 0;
|
|
if(!str) return "Try: help broadcast";
|
|
message("broadcast",
|
|
sprintf("%%^RED%%^Broadcast message from %s: "
|
|
"%%^YELLOW%%^%s%%^RESET%%^",
|
|
this_player()->GetName(), str), users());
|
|
return 1;
|
|
}
|
|
|
|
string GetHelp() {
|
|
return "Syntax: broadcast [message]\n\n"
|
|
"Sends out a message that is in English and immune to all forms of "
|
|
"blocking. Do not use this for shout matches!";
|
|
}
|