
* 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
16 lines
323 B
Plaintext
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;
|
|
} |