From 89efb0e7a61e76f1f8e0b1374b1a22c381c48b90 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 21 Jun 2018 22:26:26 -0300 Subject: debug --- npc/commands/scheduled-broadcasts.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/commands/scheduled-broadcasts.txt') diff --git a/npc/commands/scheduled-broadcasts.txt b/npc/commands/scheduled-broadcasts.txt index b578d78e1..74a182a23 100644 --- a/npc/commands/scheduled-broadcasts.txt +++ b/npc/commands/scheduled-broadcasts.txt @@ -8,10 +8,13 @@ function script StoneBoard { mes l("Please enter the message:"); next; input .@msg$; + debugmes "setMessage, received from input: "+.@msg$; .@msg$ = strip(.@msg$); + debugmes "setMessage, stripped: "+.@msg$; if (.@msg$ != "") { return .@msg$; } + debugmes "setMessage ------ FAILURE"; mes l("The message cannot be empty"); next; } while (.@msg$ == ""); -- cgit v1.2.3-60-g2f50