diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-10 10:16:06 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-10 10:16:06 +0000 |
commit | 7536331ae203d5576166cd50a3243b735cd30f75 (patch) | |
tree | 2cf87c8b716d5ce273c5d21de1320c2509124124 /npc/sample/npc_test_npctimer2.txt | |
parent | 31840066c4795124a887cd12996cf7dc13fcef25 (diff) | |
download | hercules-7536331ae203d5576166cd50a3243b735cd30f75.tar.gz hercules-7536331ae203d5576166cd50a3243b735cd30f75.tar.bz2 hercules-7536331ae203d5576166cd50a3243b735cd30f75.tar.xz hercules-7536331ae203d5576166cd50a3243b735cd30f75.zip |
* 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://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@944 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/sample/npc_test_npctimer2.txt')
-rw-r--r-- | npc/sample/npc_test_npctimer2.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/npc/sample/npc_test_npctimer2.txt b/npc/sample/npc_test_npctimer2.txt new file mode 100644 index 000000000..de9895f3c --- /dev/null +++ b/npc/sample/npc_test_npctimer2.txt @@ -0,0 +1,16 @@ +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;
+}
\ No newline at end of file |