From 21fa0901dc8723627c6970aa6eff97bc27e36533 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 26 Dec 2013 01:34:12 +0100 Subject: Modernized syntax and fixed errors in the sample scripts Signed-off-by: Haru --- doc/sample/getequipid.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/sample/getequipid.txt') diff --git a/doc/sample/getequipid.txt b/doc/sample/getequipid.txt index 6a2ef342f..6543d7932 100644 --- a/doc/sample/getequipid.txt +++ b/doc/sample/getequipid.txt @@ -3,14 +3,14 @@ //===== By: ================================================== //= Hercules Dev Team //===== Current Version: ===================================== -//= 20121003 -//===== Description: ========================================= +//= 20131225 +//===== Description: ========================================= //= Demonstrates the 'getequipid' command. //============================================================ -prontera,161,181,6 script GetEquipID Sample 105,{ +prontera,161,181,6 script getequipid Sample 8W_SOLDIER,{ mes "[GetEquipID Sample]"; - for(set .@i,1; .@i<11; set .@i,.@i+1) - mes "GetEquipID(" + .@i + ") : " + getequipid(1); + for (.@i = 1; .@i < 11; ++.@i) + mes "getequipid(" + .@i + ") : " + getequipid(1); close; } -- cgit v1.2.3-60-g2f50