rathena/doc/sample/delitem2.txt
euphyy d2d9897606 * Standardization of doc\sample\ folder.
* Deleted doc\sample\PCLoginEvent.txt, which contained outdated information.
* Follow-up r16812, fixed file encoding.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-03 23:13:33 +00:00

39 lines
1.0 KiB
Plaintext

//===== rAthena Script =======================================
//= Sample: Delitem2
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 20070315
//===== Description: =========================================
//= Demonstrates the 'delitem2' command.
//============================================================
prontera,160,182,5 script Delitem2 51,{
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;
}