rathena/npc/sample/npc_test_npctimer2.txt
celest c94c71d282 * Fixed some typos and exploits in the Blacksmith and Hunter job quest
* Modified 'wedding' script command to work with "OnTimer" scripts
* Added 'attachnpctimer' and 'detachnpctimer' script command

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10 10:16:06 +00:00

16 lines
323 B
Plaintext

prontera.gat,156,183,0 script NPCtimerƒeƒXƒg::npctimerX0000 116,{
L_INIT:
mes "What would you like to know?";
menu "Tell me my level",L_WAIT;
L_WAIT:
mes "I need time to think...";
initnpctimer;
attachnpctimer;
close;
OnTimer5000:
mes "Ah, your level is " + readparam(11);
detachnpctimer;
close;
}