From 4e3eb2b1fdc7000571bc955a284fdd644a8abea8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 20 Sep 2021 20:42:54 -0300 Subject: Update some of the debugmes for usage with syslog facility --- npc/042-10/ctrl.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/042-10/ctrl.txt') diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt index 2d6084b34..d257c3e16 100644 --- a/npc/042-10/ctrl.txt +++ b/npc/042-10/ctrl.txt @@ -307,7 +307,7 @@ OnTimer60000: explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { - debugmes "[ERROR] [KAMELOT] Unable to recharge katazuli for Kamelot %s", .map$; + consolewarn "[ERROR] [KAMELOT] Unable to recharge katazuli for Kamelot %s", .map$; .@g=0; } @@ -390,7 +390,7 @@ OnTimer60000: explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { - debugmes "[ERROR] [KAMELOT] Unable to recharge katazuli for Kamelot %s", .map$; + consolewarn "[ERROR] [KAMELOT] Unable to recharge katazuli for Kamelot %s", .map$; .@g=0; } @@ -604,7 +604,7 @@ OnRespawn: explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { - debugmes "[ERROR] [KAMELOT] Unable to respawn for Kamelot %s", .map$; + consolewarn "[ERROR] [KAMELOT] Unable to respawn for Kamelot %s", .map$; .@g=0; } KamelotCaveSpawn(1, 20, 20, 160, 140, $KAMELOT_MX[.@g]+10, .@map$[0]); @@ -614,7 +614,7 @@ OnInstanceInit: explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { - debugmes "[ERROR] [KAMELOT] Unable to spawn for Kamelot %s", .map$; + consolewarn "[ERROR] [KAMELOT] Unable to spawn for Kamelot %s", .map$; .@g=0; } .@pc=$KAMELOT_PC[.@g]+1; -- cgit v1.2.3-70-g09d2