summaryrefslogtreecommitdiff
path: root/npc/sample/npc_test_chat.txt
blob: f593490cb50246b61ffc8a0cefc74218b6fdbfcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
prontera,158,182,0	script	Chat Test::test0001	116,{
	mes "Trigger Number" + getwaitingroomstate(2);
	mes "Trigger State" + getwaitingroomstate(3);
	menu "Enable",L_ENA,"Disable",L_DISA,"Delete",L_DEL,"Create",L_MAKE;
	close;
L_ENA:
	enablewaitingroomevent;
	close;
L_DISA:
	disablewaitingroomevent;
	close;
L_DEL:
	delwaitingroom;
	close;
L_MAKE:
	waitingroom "Test",15,"test0001::OnChatEvent",1;
	close;
OnInit:
	waitingroom "Test",15,"test0001::OnChatEvent",1;
	end;
OnChatEvent:
	disablewaitingroomevent;
	warpwaitingpc "prontera",160,180;
	end;

}