diff options
author | Haru <haru@dotalux.com> | 2013-12-26 01:34:12 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-12-30 16:08:20 +0100 |
commit | 21fa0901dc8723627c6970aa6eff97bc27e36533 (patch) | |
tree | 8890d4191c1ea44af96b6e51d8e149b1e885f043 /doc/sample/getequipid.txt | |
parent | a9156de759bc444a5f7256b86f6c4bac6a1ab47d (diff) | |
download | hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.gz hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.bz2 hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.xz hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.zip |
Modernized syntax and fixed errors in the sample scripts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/sample/getequipid.txt')
-rw-r--r-- | doc/sample/getequipid.txt | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |