mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-19 05:58:06 +01:00
New mail system, with inbox OLC, index rebuilder and initial mail
This commit is contained in:
parent
d257dc0c75
commit
e068bfd5c0
28 changed files with 4085 additions and 588 deletions
|
|
@ -232,6 +232,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||
char *recho[] = {"mrecho ", "orecho ", "wrecho " };
|
||||
/* there is no such thing as mmove, thus the mecho below */
|
||||
char *omove[] = {"mecho ", "omove ", "wmove " };
|
||||
char *mail[] = {"mmail ", "oecho ", "wecho " };
|
||||
|
||||
*str = '\0';
|
||||
|
||||
|
|
@ -300,6 +301,8 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||
snprintf(str, slen, "%s", recho[type]);
|
||||
else if (!str_cmp(var, "move"))
|
||||
snprintf(str, slen, "%s", omove[type]);
|
||||
else if (!str_cmp(var, "mail"))
|
||||
snprintf(str, slen, "%s", mail[type]);
|
||||
else
|
||||
*str = '\0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue