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/delitem2.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/delitem2.txt')
-rw-r--r-- | doc/sample/delitem2.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/sample/delitem2.txt b/doc/sample/delitem2.txt index 9e74d76e7..46e3e42c7 100644 --- a/doc/sample/delitem2.txt +++ b/doc/sample/delitem2.txt @@ -3,37 +3,37 @@ //===== By: ================================================== //= Hercules Dev Team //===== Current Version: ===================================== -//= 20070315 -//===== Description: ========================================= +//= 20131225 +//===== Description: ========================================= //= Demonstrates the 'delitem2' command. //============================================================ -prontera,160,182,5 script Delitem2 51,{ +prontera,160,182,5 script Delitem2 1_M_BARD,{ mes "Item ID?"; next; - input @nameid; + input .@nameid; mes "Amount?"; next; - input @amount; + input .@amount; mes "Identified? (0:no, 1:yes)"; next; - input @iden; + input .@iden; mes "Refined how many times?"; next; - input @ref; + input .@ref; mes "Attribute? (0:normal, 1:broken)"; next; - input @attr; + input .@attr; mes "4 cards (one after another)..."; next; - input @c1; - input @c2; - input @c3; - input @c4; + input .@c1; + input .@c2; + input .@c3; + input .@c4; mes "Your command is:"; - mes "delitem2 "+@nameid+","+@amount+","+@iden+","+@ref+","+@attr+","+@c1+","+@c2+","+@c3+","+@c4; + mes "delitem2 "+.@nameid+","+.@amount+","+.@iden+","+.@ref+","+.@attr+","+.@c1+","+.@c2+","+.@c3+","+.@c4; next; - delitem2 @nameid,@amount,@iden,@ref,@attr,@c1,@c2,@c3,@c4; + delitem2 .@nameid,.@amount,.@iden,.@ref,.@attr,.@c1,.@c2,.@c3,.@c4; mes "And here is the moment when your item should disappear! :P"; close; } |