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>2016-07-03 00:50:20 +0300
commit197f7fd9b94a127d70f961890dea2fe477260522 (patch)
treec33df596a643200681934e9ad856b05dba747bc1 /doc/sample/getmonsterinfo.txt
parent8f80f9172c20c6aae6d96caeb5402af9a4fb425b (diff)
downloadhercules-197f7fd9b94a127d70f961890dea2fe477260522.tar.gz
hercules-197f7fd9b94a127d70f961890dea2fe477260522.tar.bz2
hercules-197f7fd9b94a127d70f961890dea2fe477260522.tar.xz
hercules-197f7fd9b94a127d70f961890dea2fe477260522.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;
-}