lol, reminds me of my private mvp room script
guild_vs2,50,50,5 script asdasdasdasd 100,{
mes "What you want to summon ?";
.@s = select( .menu$ ) -1;
mes "input amount to summon";
if ( input( .@amount, 1, .max_summon ) ) {
mes "invalid amount";
close;
}
mes "Summon "+ .@amount +"x "+ .mob_name$[.@s] +" ?";
if ( select ( "Yes", "No" ) == 2 ) close;
close2;
monster "this", 0,0, "--ja--", .mob_id[.@s], .@amount;
end;
OnInit:
setarray .mob_id, 1076, 1002, 1015; // configuration here
.max_summon = 2000;
while ( .mob_id[.@i] ) {
.mob_name$[.@i] = getmonsterinfo( .mob_id[.@i], 0 );
.@i++;
}
.menu$ = implode( .mob_name$, ":" );
end;
}
the script works fine in latest rathena