summaryrefslogtreecommitdiff
path: root/npc/sample/npc_test_chat.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/sample/npc_test_chat.txt')
-rw-r--r--npc/sample/npc_test_chat.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/npc/sample/npc_test_chat.txt b/npc/sample/npc_test_chat.txt
new file mode 100644
index 000000000..267dc4b66
--- /dev/null
+++ b/npc/sample/npc_test_chat.txt
@@ -0,0 +1,28 @@
+
+
+prontera.gat,158,182,0 script chatテスト::test0001 116,{
+ mes "トリガー人数" + getwaitingroomstate(2);
+ mes "トリガー状態" + getwaitingroomstate(3);
+ menu "有効化",L_ENA,"無効化",L_DISA,"削除",L_DEL,"作成",L_MAKE;
+ close;
+L_ENA:
+ enablewaitingroomevent;
+ close;
+L_DISA:
+ disablewaitingroomevent;
+ close;
+L_DEL:
+ delwaitingroom;
+ close;
+L_MAKE:
+ waitingroom "テスト",15,"test0001::OnChatEvent",1;
+ close;
+OnInit:
+ waitingroom "テスト",15,"test0001::OnChatEvent",1;
+ end;
+OnChatEvent:
+ disablewaitingroomevent;
+ warpwaitingpc "prontera.gat",160,180;
+ end;
+
+}