Added %log% command, and made capitalization up to the builders discretion in various trigedit messages. (#35)
* Added %log%, and made %send%, %echo%, etc. not force capitalization. * Fixed Previous Commit * Really fixed this time.
This commit is contained in:
@@ -52,6 +52,7 @@ WCMD(do_wload);
|
||||
WCMD(do_wdamage);
|
||||
WCMD(do_wat);
|
||||
WCMD(do_wmove);
|
||||
WCMD(do_wlog);
|
||||
|
||||
|
||||
/* attaches room vnum to msg and sends it to script_log */
|
||||
@@ -114,6 +115,16 @@ WCMD(do_wecho)
|
||||
act_to_room(argument, room);
|
||||
}
|
||||
|
||||
WCMD(do_wlog)
|
||||
{
|
||||
skip_spaces(&argument);
|
||||
|
||||
if (!*argument)
|
||||
return;
|
||||
|
||||
wld_log(room, argument);
|
||||
}
|
||||
|
||||
WCMD(do_wsend)
|
||||
{
|
||||
char buf[MAX_INPUT_LENGTH], *msg;
|
||||
@@ -624,6 +635,7 @@ static const struct wld_command_info wld_cmd_info[] = {
|
||||
{ "wdamage " , do_wdamage, 0 },
|
||||
{ "wat " , do_wat, 0 },
|
||||
{ "wmove " , do_wmove , 0 },
|
||||
{ "wlog" , do_wlog , 0 },
|
||||
{ "\n", 0, 0 } /* this must be last */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user