From 6aaa6af952e55b860b7df51772384164e70768e9 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Wed, 14 Feb 2018 23:57:24 -0200 Subject: This askes logmes to log at LOGMES_ ATCOMMAND and includes a draft about barber --- npc/commands/motd.txt | 6 +++--- npc/commands/scheduled-broadcasts.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt index 6a6ba6123..3867c8513 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -40,7 +40,7 @@ function script MOTDConfig { .@size = getvariableofnpc(.size, "@motd"); $MOTD_Messages$[.@size] = .@s$; set getvariableofnpc(.size, "@motd"), getarraysize($MOTD_Messages$); - logmes "MOTD modified: line added"; + logmes "MOTD modified: line added", LOGMES_ATCOMMAND; // FIXME: log to GM log } } @@ -52,7 +52,7 @@ function script MOTDConfig { deletearray $MOTD_Messages$[.@l], 1; // remove and shift mes l("Line @@ has been removed.", .@l); set getvariableofnpc(.size, "@motd"), getarraysize($MOTD_Messages$); - logmes "MOTD modified: line removed"; + logmes "MOTD modified: line removed", LOGMES_ATCOMMAND; // FIXME: log to GM log } @@ -85,7 +85,7 @@ function script MOTDConfig { if (.@s$ != "") { $MOTD_Messages$[.@l] = .@s$; - logmes "MOTD modified: line edited"; + logmes "MOTD modified: line edited", LOGMES_ATCOMMAND; // FIXME: log to GM log } } diff --git a/npc/commands/scheduled-broadcasts.txt b/npc/commands/scheduled-broadcasts.txt index 38aa23b69..4ea5a5a71 100644 --- a/npc/commands/scheduled-broadcasts.txt +++ b/npc/commands/scheduled-broadcasts.txt @@ -123,7 +123,7 @@ function script StoneBoard { { announce $@SCHED_Msg$, bc_all; } - logmes "Scheduled Broadcast: A new broadcast was added"; + logmes "Scheduled Broadcast: A new broadcast was added", LOGMES_ATCOMMAND; case 1: return; } -- cgit v1.2.3-60-g2f50