nageb1 Posted August 13, 2021 Share Posted August 13, 2021 This script develops tools +20 I want him to do the +10 development only I want to develop the tool +1+2+3+4+5+6+7+8+9+10 I don't want him to do the 10+ upgrade at once. Can anyone help me to edit this text? refiner10.txt Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted August 25, 2021 Share Posted August 25, 2021 prontera,164,173,3 script Refiner 826,{ mes "^3355FF[%100 Refiner]^000000"; mes "This Lets you refine your item to the max"; mes " You Need "+.amount+"x "+getitemname(.item_id)+" to use my Service"; next; mes "Choose the item to refine"; mes "Choose Wisely"; mes "Dont Ask For refine"; mes "On GameMasters"; mes "Think Before you refine an item"; next; for ([email protected] = 0; [email protected] < .eqi_size; [email protected]++) { if (getequipid(.eqi[[email protected]]) != -1) [email protected]$ = [email protected]$ + F_getpositionname(.eqi[[email protected]]) + " - " +getitemname(getequipid(.eqi[[email protected]])); [email protected]$ += ":"; } [email protected] = select([email protected]$) - 1; [email protected] = getequiprefinerycnt(.eqi[[email protected]]); if (countitem(.item_id) < .amount) { mes "You didnt have enough "+.amount+"x "+getitemname(.item_id); } else if ([email protected] >= 20) { mes "Your item already reached max refine."; } else { delitem .item_id, .amount; if ([email protected] < 10) { successrefitem .eqi[[email protected]], (10 - [email protected]); } else { successrefitem .eqi[[email protected]]; } announce "["+strcharinfo(0)+"], Thanks for using my great service :)).", bc_self; } close; OnInit: .item_id = 7179; .amount = 10; setarray .eqi, EQI_HEAD_TOP, EQI_HEAD_MID, EQI_HEAD_LOW, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_ACC_L, EQI_ACC_R; .eqi_size = getarraysize(.eqi); end; } 1 Quote Link to comment Share on other sites More sharing options...
This script develops tools +20 I want him to do the +10 development only I want to develop the tool +1+2+3+4+5+6+7+8+9+10
I don't want him to do the 10+ upgrade at once. Can anyone help me to edit this text?
refiner10.txt
Link to comment
Share on other sites