From 414b37aedff74320b0c991a113e752fa3e014bd7 Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 13 May 2015 10:30:14 -0400 Subject: a few fixes/modifications here and there --- world/map/npc/functions/default_npc_checks.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'world/map/npc/functions/default_npc_checks.txt') diff --git a/world/map/npc/functions/default_npc_checks.txt b/world/map/npc/functions/default_npc_checks.txt index d20ed187..c714c931 100644 --- a/world/map/npc/functions/default_npc_checks.txt +++ b/world/map/npc/functions/default_npc_checks.txt @@ -21,13 +21,12 @@ function|script|PCtoNPCRange if(@distance_handler) goto L_Return; set @dnpc_name$, strnpcinfo(1); if(@dnpc_name$ != "") goto L_Named; - mes "You need to move closer to interact with this npc."; - close2; + message strcharinfo(0), "##3Server : ##BYou need to move closer to interact with this npc."; goto L_Return; L_Named: message strcharinfo(0), "##3"+@dnpc_name$+" : ##BPlease move closer."; - end; + goto L_Return; L_Return: set @dnpc_name$, ""; -- cgit v1.2.3-60-g2f50