prontera,153,180,4 script Option Master 4_DOG01,{
mes "blah";
// dispbottom getequipid(EQI_ACC_L) +" "+ getequipid(EQI_ACC_R);
next;
if ( getequipid(EQI_ACC_L) == -1 && getequipid(EQI_ACC_R) == -1 ) {
mes "You don't have Accessory equipped";
close;
}
.@s = select( getequipid(EQI_ACC_L)? getequipname(EQI_ACC_L) : "", getequipid(EQI_ACC_R)? getequipname(EQI_ACC_R) : "" ) + 6;
// dispbottom .@s +"";
if ( getequipoption( .@s, 1, IT_OPT_INDEX ) ) {
mes "this Accessory has already enchanted with Item Options";
close;
}
mes "do you want to add +STR to this Accessory?";
next;
if ( select( "Yes", "No" ) == 2 ) close;
setequipoption .@s, 1, VAR_STRAMOUNT, 1;
close;
}