prontera,264,210,3 script Miyabi 906,{ mes "Hi~ "; emotion 30; mes "You can choose your friend here !"; mes "1 Friend for 10M Zeny"; mes "If you choose all only 80M Zeny"; next; if( select("I want Friend ! ","I don't want Friend") == 1 ) { .@i = select( .mob_list_menu$ ); .@is_all = ( .@i > .mob_list_size ); mes "Zeny : "+.zeny[.@is_all]; emotion 35; if ( Zeny >= .zeny[.@is_all] ) if ( select( "Pay","Cancel" ) == 1 ) { Zeny -= .zeny[.@is_all]; if ( .@is_all ) for ( .@i = 0; .@i < .mob_list_size; .@i++ ) monster "this",-1,-1,"--ja--",.mob_list[.@i],1; else monster "this",-1,-1,"--ja--",.mob_list[.@i-1],1; } } close; OnInit: setarray .zeny, 10000000, 80000000; setarray .mob_list,1150,1505,1564,1370,1647,1630,2238,2098,2241,1649,1651,1646,2237,1650; .mob_list_size = getarraysize( .mob_list ); while ( .@i < .mob_list_size ) .mob_list_menu$ = .mob_list_menu$ + getmonsterinfo( .mob_list[.@i++],MOB_NAME ) + ":"; .mob_list_menu$ = .mob_list_menu$ + "^FF0000Summon All^000000"; end; }