mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-03 10:57:19 +02:00
Remove gsay/gtell, update helpfiles
This commit is contained in:
parent
2159ca06f0
commit
46bd77943e
4 changed files with 15 additions and 92 deletions
|
|
@ -105,30 +105,6 @@ ACMD(do_ooc)
|
|||
speech_wtrigger(ch, argument);
|
||||
}
|
||||
|
||||
ACMD(do_gsay)
|
||||
{
|
||||
skip_spaces(&argument);
|
||||
|
||||
if (!GROUP(ch)) {
|
||||
send_to_char(ch, "But you are not a member of a group!\r\n");
|
||||
return;
|
||||
}
|
||||
if (!*argument)
|
||||
send_to_char(ch, "Yes, but WHAT do you want to group-say?\r\n");
|
||||
else {
|
||||
|
||||
if (CONFIG_SPECIAL_IN_COMM && legal_communication(argument))
|
||||
parse_at(argument);
|
||||
|
||||
send_to_group(ch, ch->group, "%s%s%s says, '%s'%s\r\n", CCGRN(ch, C_NRM), CCGRN(ch, C_NRM), GET_NAME(ch), argument, CCNRM(ch, C_NRM));
|
||||
|
||||
if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT))
|
||||
send_to_char(ch, "%s", CONFIG_OK);
|
||||
else
|
||||
send_to_char(ch, "%sYou group-say, '%s'%s\r\n", CCGRN(ch, C_NRM), argument, CCNRM(ch, C_NRM));
|
||||
}
|
||||
}
|
||||
|
||||
static void perform_tell(struct char_data *ch, struct char_data *vict, char *arg)
|
||||
{
|
||||
char buf[MAX_STRING_LENGTH], *msg;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ ACMD(do_spec_comm);
|
|||
/* functions without subcommands */
|
||||
ACMD(do_say);
|
||||
ACMD(do_ooc);
|
||||
ACMD(do_gsay);
|
||||
ACMD(do_page);
|
||||
ACMD(do_reply);
|
||||
ACMD(do_tell);
|
||||
|
|
|
|||
|
|
@ -151,14 +151,12 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
|
||||
{ "get" , "g" , POS_RESTING , do_get , 0, 0 },
|
||||
{ "gecho" , "gecho" , POS_DEAD , do_gecho , LVL_GOD, 0 },
|
||||
{ "gemote" , "gem" , POS_SLEEPING, do_gen_comm , 0, SCMD_GEMOTE },
|
||||
{ "gemote" , "gem" , POS_SLEEPING, do_gen_comm , LVL_IMMORT, SCMD_GEMOTE },
|
||||
{ "give" , "giv" , POS_RESTING , do_give , 0, 0 },
|
||||
{ "goto" , "go" , POS_SLEEPING, do_goto , LVL_IMMORT, 0 },
|
||||
{ "gold" , "gol" , POS_RESTING , do_gold , 0, 0 },
|
||||
{ "group" , "gr" , POS_RESTING , do_group , 1, 0 },
|
||||
{ "grab" , "grab" , POS_RESTING , do_grab , 0, 0 },
|
||||
{ "gsay" , "gsay" , POS_SLEEPING, do_gsay , 0, 0 },
|
||||
{ "gtell" , "gt" , POS_SLEEPING, do_gsay , 0, 0 },
|
||||
|
||||
{ "help" , "h" , POS_DEAD , do_help , 0, 0 },
|
||||
{ "hedit" , "hedit" , POS_DEAD , do_oasis_hedit, LVL_GOD , 0 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue