summaryrefslogblamecommitdiff
path: root/npc/sample/npc_test_chat.txt
blob: f593490cb50246b61ffc8a0cefc74218b6fdbfcb (plain) (tree)
1
2
3
4
5
6

 



                                                                            










                                
                                                        

              
                                                        


                                
                                         

            
 
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;

}