diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-29 22:09:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-29 22:09:19 +0300 |
commit | 39fa4991f1ce803da04fae342d5ab64111a3df5e (patch) | |
tree | 585dbfb0d6800a8a3bc4d3bec3eb8d41e23894e1 /server/sample/delitem2.txt | |
parent | 61d35617036a2170160e91fdc8f93410ae7d0e3e (diff) | |
download | docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.tar.gz docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.tar.bz2 docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.tar.xz docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.zip |
Add all existing server docs.
Diffstat (limited to 'server/sample/delitem2.txt')
-rw-r--r-- | server/sample/delitem2.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/server/sample/delitem2.txt b/server/sample/delitem2.txt new file mode 100644 index 0000000..46e3e42 --- /dev/null +++ b/server/sample/delitem2.txt @@ -0,0 +1,39 @@ +//===== Hercules Script ======================================= +//= Sample: Delitem2 +//===== By: ================================================== +//= Hercules Dev Team +//===== Current Version: ===================================== +//= 20131225 +//===== Description: ========================================= +//= Demonstrates the 'delitem2' command. +//============================================================ + +prontera,160,182,5 script Delitem2 1_M_BARD,{ + mes "Item ID?"; + next; + input .@nameid; + mes "Amount?"; + next; + input .@amount; + mes "Identified? (0:no, 1:yes)"; + next; + input .@iden; + mes "Refined how many times?"; + next; + input .@ref; + mes "Attribute? (0:normal, 1:broken)"; + next; + input .@attr; + mes "4 cards (one after another)..."; + next; + input .@c1; + input .@c2; + input .@c3; + input .@c4; + mes "Your command is:"; + mes "delitem2 "+.@nameid+","+.@amount+","+.@iden+","+.@ref+","+.@attr+","+.@c1+","+.@c2+","+.@c3+","+.@c4; + next; + delitem2 .@nameid,.@amount,.@iden,.@ref,.@attr,.@c1,.@c2,.@c3,.@c4; + mes "And here is the moment when your item should disappear! :P"; + close; +} |