hyuna Posted February 2, 2013 Posted February 2, 2013 (edited) I saw some servers I played have unlimited box (for pots) with a limited period (ex.30 days). I want to know how to make its script and and put expiration dates...its kinda new to me THX Edited February 3, 2013 by hyuna Quote
Capuche Posted February 2, 2013 Posted February 2, 2013 (edited) A rental item which give unlimit box ? I hope you will understand my example : *rentitem <item id>,<time>; *rentitem "<item name>",<time>; Creates a rental item in the attached character's inventory. The item will expire in <time> seconds and be automatically deleted. When receiving a rental item, the character will receive a message in their chat window. The character will also receive warning messages in their chat window before the item disappears. This command can not be used to rent stackable items. Rental items cannot be dropped, traded, sold to NPCs, or placed in guild storage. (i.e. trade mask 75) Note: 'delitem' in an NPC script can still remove rental items. prontera,155,168,5 script yuio 456,{ rentitem 13531, 86400 * 30; // 30 days end; } A NPC give a rental item. // ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } 13531,Light_Red_Pot_Box,Light Red Potion Box,11,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 603,1; },{},{} An item (not consumed - type 11) give unlimit item. Edited February 2, 2013 by Capuche 1 Quote
hyuna Posted February 3, 2013 Author Posted February 3, 2013 oic...THX Capuche...something new I learned today!!! Quote
Question
hyuna
I saw some servers I played have unlimited box (for pots) with a limited period (ex.30 days). I want to know how to make its script and and put expiration dates...its kinda new to me THX
Edited by hyuna2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.