From 17fb74bf4cd054a7ad07cd912333a82265569a87 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Sep 2015 22:47:23 +0300 Subject: Add joinchat demo to npc1 menu. --- npc/test/npc1.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt index 74e408e4..29080627 100644 --- a/npc/test/npc1.txt +++ b/npc/test/npc1.txt @@ -27,7 +27,7 @@ test,10,10,0 script npc1 NPC_TEST1,3,3,{ } L_Start: - switch (select("show area:map:pc:change npc direction:quest test:cart:items")) + switch (select("show area:map:pc:change npc direction:quest test:cart:items:chat")) { case 1: areatest; @@ -211,6 +211,10 @@ L_Start: break; } } + break; + case 8: + chatjoin .chat; + close; } close; -- cgit v1.2.3-70-g09d2