summaryrefslogtreecommitdiff
path: root/doc/sample/npc_test_npctimer2.txt
blob: bd634b9d2eeb4c2b634ac219f882cdd15deaa100 (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
//===== rAthena Script =======================================
//= Sample: Attached NPC Timers
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 20121003
//===== Description: ========================================= 
//= Demonstrates attached NPC timer commands.
//============================================================

prontera,156,183,0	script	NPCtimerTest::npctimerX0000	116,{
	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;
}