//===== Hercules Script ====================================== //= Sign Your Items //===== By: ================================================== //= Lupus //===== Current Version: ===================================== //= 1.1a //===== Compatible With: ===================================== //= Hercules //===== Description: ========================================= //= Write you name on your rare equipment or weapon ^_- //===== Additional Comments: ================================= //= 1.1 Cleaned and edited for general use. [Euphy] //= 1.1a Added 'disable_items' command. [Euphy] //============================================================ prt_in,24,61,7 script Perchik 47,{ setarray .@Item[0],644,3; // Item requirements: ,{,...} (0 to disable) setarray .@Cost[0],0,5000; // Zeny requirements: , disable_items; mes "[Perchik]"; mes "I can ^0055FFsign your name^000000 on almost any rare item you hold."; next; if(select("Tell me more...:Sign my items, please!") == 1) { mes "[Perchik]"; mes "I can put your name on any slotless equipment or weapon."; emotion e_ic; next; mes "[Perchik]"; if (getarraysize(.@Item) || getarraysize(.@Cost)) { mes "For my work I accept:"; if (getarraysize(.@Item)) for(set .@i,0; .@i4000 && .@slot[0]<5000) { mes "A card? Here?!"; mes "As I said before, I don't sign items with cards."; emotion e_hmm; close; } if (getiteminfo(.@id,10)) { mes "Sorry, I don't sign slotted items."; emotion e_sry; close; } getinventorylist; for(set .@i,0; .@i<@inventorylist_count; set .@i,.@i+1) if (@inventorylist_expire[.@i] != 0) { mes "Sorry, I don't sign rental items!"; emotion e_hmm; close; } set .@price, .@Cost[0]+(.@Cost[1]*.@ref); if (getarraysize(.@Item) || .@price) { mes "I will need:"; if (getarraysize(.@Item)) for(set .@i,0; .@i>16)&0xffff; equip .@id; close; }