summaryrefslogtreecommitdiff
path: root/doc/sample/npc_test_chat.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-05 11:34:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-14 19:19:44 +0300
commite0d4a497d65fd41c4d14f5034a0355acb088d723 (patch)
treec7261a97f9db835aff8c01a62284b51f01c2c22a /doc/sample/npc_test_chat.txt
parente201178590138b2b21c3e717b3679aa4f090069a (diff)
downloadhercules-e0d4a497d65fd41c4d14f5034a0355acb088d723.tar.gz
hercules-e0d4a497d65fd41c4d14f5034a0355acb088d723.tar.bz2
hercules-e0d4a497d65fd41c4d14f5034a0355acb088d723.tar.xz
hercules-e0d4a497d65fd41c4d14f5034a0355acb088d723.zip
Remove conf dir.
Diffstat (limited to 'doc/sample/npc_test_chat.txt')
-rw-r--r--doc/sample/npc_test_chat.txt37
1 files changed, 0 insertions, 37 deletions
diff --git a/doc/sample/npc_test_chat.txt b/doc/sample/npc_test_chat.txt
deleted file mode 100644
index adc53c763..000000000
--- a/doc/sample/npc_test_chat.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-//===== Hercules Script =======================================
-//= Sample: Chat Test
-//===== By: ==================================================
-//= Hercules Dev Team
-//===== Current Version: =====================================
-//= 20121003
-//===== Description: =========================================
-//= Demonstrates waitingroom commands.
-//============================================================
-
-prontera,158,182,0 script Chat Test::test0001 4_F_KAFRA2,{
- mes "Trigger Number: " + getwaitingroomstate(2);
- mes "Trigger State: " + getwaitingroomstate(3);
- switch(select("Enable:Disable:Delete:Create")) {
- case 1:
- enablewaitingroomevent;
- close;
- case 2:
- disablewaitingroomevent;
- close;
- case 3:
- delwaitingroom;
- close;
- case 4:
- waitingroom "Test",15,"test0001::OnChatEvent",1;
- close;
- }
-
-OnInit:
- waitingroom "Test",15,"test0001::OnChatEvent",1;
- end;
-
-OnChatEvent:
- disablewaitingroomevent;
- warpwaitingpc "prontera",160,180;
- end;
-}