summaryrefslogtreecommitdiff
path: root/doc/sample/getmonsterinfo.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-05 11:34:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-01 16:51:25 +0300
commit9568f0999b8105e62f0f237998bbecf7025f4e83 (patch)
treee9682de48fbc3023bc3e04ad6a860b29d0c6e616 /doc/sample/getmonsterinfo.txt
parent2313ec5c496d83417006d47251134c93c5ca614e (diff)
downloadhercules-9568f0999b8105e62f0f237998bbecf7025f4e83.tar.gz
hercules-9568f0999b8105e62f0f237998bbecf7025f4e83.tar.bz2
hercules-9568f0999b8105e62f0f237998bbecf7025f4e83.tar.xz
hercules-9568f0999b8105e62f0f237998bbecf7025f4e83.zip
Remove conf dir.
Diffstat (limited to 'doc/sample/getmonsterinfo.txt')
-rw-r--r--doc/sample/getmonsterinfo.txt23
1 files changed, 0 insertions, 23 deletions
diff --git a/doc/sample/getmonsterinfo.txt b/doc/sample/getmonsterinfo.txt
deleted file mode 100644
index 064f1fc71..000000000
--- a/doc/sample/getmonsterinfo.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-//===== Hercules Script =======================================
-//= Sample: Getmonsterinfo
-//===== By: ==================================================
-//= Lupus
-//===== Current Version: =====================================
-//= 20131225
-//===== Description: =========================================
-//= Demonstrates the 'getmonsterinfo' command.
-//============================================================
-
-prontera,156,179,6 script test_getmonsterinfo 4_F_KAFRA1,{
- mes "Please enter a monster ID.";
- input .@value;
- if(getmonsterinfo(.@value,MOB_LV)<0 || getmonsterinfo(.@value,MOB_NAME)=="Dummy") {
- mes "Invalid monster ID.";
- close;
- }
- mes "Monster ID: "+.@value+" '"+getmonsterinfo(.@value,MOB_NAME)+"'";
- mes "Current Monster info:";
- for (.@id = 0; .@id < 23; ++.@id)
- mes " getmonsterinfo("+.@value+","+@id+") = "+getmonsterinfo(.@value,@id);
- close;
-}