you can try this. https://pastebin.com/raw/h0HQ5Axa [email protected]_itemid = 7539; [email protected]_rate = 40; if ([email protected]_itemid) { if (getequippercentrefinery([email protected]) <= [email protected]_rate) { mes "[Item Protection]"; mes "Do you have "+getitemname([email protected]_itemid)+" item ? It will protect your armor/weapon from broken."; next; if (select((countitem([email protected]_itemid)? "Yes":""), "No") == 1) { [email protected] = 1; } } } find all these part and edit.