From 86db53f0aff7af8233d86710b95f9b5aac62d06e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 30 May 2018 19:27:45 -0300 Subject: Regex without modifiers (?) --- npc/commands/event.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/commands/event.txt') diff --git a/npc/commands/event.txt b/npc/commands/event.txt index b1a62cba3..564531d52 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -108,7 +108,7 @@ OnCall: dispbottom l("You need all your mana to do this trip."); else if (readparam(Hp) != readparam(MaxHp)) dispbottom l("You cannot be hurt to do this trip."); - else if (getmapname() ~= "/001-*/g") + else if (getmapname() ~= "001-*") dispbottom l("You are already at the Mana Plane of Existence."); else if (getmapname() == "boss" || getmapname() == "sec_pri") dispbottom l("The Mana Plane is currently out of reach."); -- cgit v1.2.3-60-g2f50