From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *strnpcinfo now uses constants - NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map --- npc/custom/etc/mvp_arena.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/custom/etc') diff --git a/npc/custom/etc/mvp_arena.txt b/npc/custom/etc/mvp_arena.txt index b8e1af564..d4205456e 100644 --- a/npc/custom/etc/mvp_arena.txt +++ b/npc/custom/etc/mvp_arena.txt @@ -49,7 +49,7 @@ quiz_00,49,31,4 script MVP Arena Guide 4_M_TWTEAMAN,{ // Keepers function script Keeper { - mes "[ ^0065DF"+strnpcinfo(1)+"^000000 ]"; + mes "[ ^0065DF"+strnpcinfo(NPC_NAME_VISIBLE)+"^000000 ]"; mes "Which arena would you"; mes "like to enter?"; set .@menu$,""; @@ -57,7 +57,7 @@ function script Keeper { set .@menu$, .@menu$+"Arena "+.@i+" ["+getmapusers("pvp_n_"+.@i+"-"+getarg(0))+"/20]:"; set .@i, select(.@menu$); if (getmapusers("pvp_n_"+.@i+"-"+getarg(0))>19) { - mes "[ ^0065DF"+strnpcinfo(1)+"^000000 ]"; + mes "[ ^0065DF"+strnpcinfo(NPC_NAME_VISIBLE)+"^000000 ]"; mes "Sorry, this arena is full!"; close; } -- cgit v1.2.3-70-g09d2