summaryrefslogtreecommitdiff
path: root/doc/sample/getequipid.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sample/getequipid.txt')
-rw-r--r--doc/sample/getequipid.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/sample/getequipid.txt b/doc/sample/getequipid.txt
new file mode 100644
index 000000000..02d80780f
--- /dev/null
+++ b/doc/sample/getequipid.txt
@@ -0,0 +1,16 @@
+//===== rAthena Script =======================================
+//= Sample: Getequipid
+//===== By: ==================================================
+//= rAthena Dev Team
+//===== Current Version: =====================================
+//= 20121003
+//===== Description: =========================================
+//= Demonstrates the 'getequipid' command.
+//============================================================
+
+prontera,161,181,6 script GetEquipID Sample 105,{
+ mes "[GetEquipID Sample]";
+ for(set .@i,1; .@i<11; set .@i,.@i+1)
+ mes "GetEquipID(" + .@i + ") : " + getequipid(1);
+ close;
+} \ No newline at end of file