blob: b325c0c90f12464ad7005493a2d76a28c848171e (
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
|
//===== Hercules Script ======================================
//= Sample: Attached NPC Timers
//===== By: ==================================================
//= Hercules Dev Team
//===== Current Version: =====================================
//= 20131225
//===== Description: =========================================
//= Demonstrates attached NPC timer commands.
//============================================================
prontera,156,183,0 script NPCtimerTest::npctimerX0000 4_F_KAFRA2,{
mes "What would you like to know?";
select("Tell me my level.");
mes "I need time to think...";
initnpctimer;
attachnpctimer;
close;
OnTimer5000:
mes "Ah, your level is " + readparam(11) + "!";
detachnpctimer;
close;
}
|