That thing is riddled with issues...
prontera,160,174,6 script Holink#mal_cash 559,{
disable_items;
mes "[Holink]";
mes "I am the meow~ Blacksmith Holink~";
mes "Master of refining, Holink~";
mes "I am the special cat Holink who learned from Morroc~";
mes "My daughter is so proud of me, Holink~";
mes "What should Holink~ refine today?";
next;
setarray .@position$[1],"Head","Body","Left Hand","Right Hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
set .@menu$,"";
for(set .@i,1; .@i<=10; set .@i,.@i+1)
set .@menu$, .@menu$+((getequipisequiped(.@i))?getequipname(.@i):.@position$[.@i]+"-[Empty]")+":";
set .@part, select(.@menu$);
if (!getequipisequiped(.@part)) {
mes "[Holink]";
switch(.@part) {
case 1:
mes "My teacher Aragam said meow~";
mes "There's no cure for stupidity...";
break;
case 2:
mes "There's nothing to see here, meow!!";
break;
case 3:
mes "Meow? What do you want me to do with this left hand...?";
break;
case 4:
mes "Meow? What do you want me to do with this right hand...?";
break;
case 5:
mes "Meow? You don't have anything on.";
break;
case 6:
mes "Kyang~! Do not mess with my sensitive olfactory, meow~.";
break;
case 7:
case 8:
mes "Meow? Where is the accessory?";
break;
case 9:
case 10:
mes "Meow? You talking about the other head parts, meow?~";
break;
}
close;
}
if (!getequipisenableref(.@part)) {
mes "[Holink]";
mes "Even Aragam can't refine such a thing, meow.";
close;
}
if (getequiprefinerycnt(.@part) >= 10) {
mes "[Holink]";
mes "Meow~ Perfect refining. Did Aragam do this, meow?~";
close;
}
mes "[Holink]";
set .@material,7539; //Token ID
mes "You need ^ff9999"+getitemname(.@material)+"^000000 for this refine, meow~";
mes "Want to continue, meow?~";
next;
if(select("Yes!!:No!!") == 2) {
mes "[Holink]";
mes "Kyack!!";
mes "You don't belive in refine master Holink, meow?~";
close;
}
if (!countitem(.@material)) {
mes "[Holink]";
mes "You don't have the ingredients.";
mes "You need ^ff9999"+getitemname(.@material)+"^000000, meow~";
mes "Go get it, meow~";
close;
}
delitem .@material,1;
successrefitem .@part;
mes "[Holink]";
mes "Me~ Me~ Meow! Fun fun refining~";
next;
emotion e_kis;
mes "[Holink]";
mes "Perfect!! Perfect, meow!!";
mes "I am the disciple of the refining wizard Aragam~";
mes "Holink!!";
mes "Another day of successful refining, meow!!";
close;
}
Try this one.