1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | prontera,155,181,5 script Sample 757,{ setarray .@ItemList,5022,2218; mes "I only refine the Following Items."; for( set .@i,0; .@i < getarraysize( .@ItemList ); set .@i,.@i + 1 ){ mes "^FF0000"+( .@i + 1 )+". ^0000FF"+getitemname( .@ItemList[.@i] )+"^000000"; for( set .@x,1; .@x <= 10; set .@x,.@x + 1 ) if( getequipid(.@x) == .@ItemList[.@i]) for( set .@r,getequiprefinerycnt(.@x); getequiprefinerycnt(.@x) < 10; set .@r,.@r + 1) successrefitem .@x; } mes "Thank you."; close; } |