monster support the optional parameter of size since r16904 ...update ur svn...
try
- script Sample -1,{
OnTalk:
input .@mob_id;
if( .@mob_id == 1 ){
killmonster strcharinfo(3),strnpcinfo(0)+"::OnMobKill";
message strcharinfo(0),"All Summoned Mobs killed.";
}else if( getmonsterinfo( .@mob_id,MOB_NAME ) == "null" ){
message strcharinfo(0),"Invalid Mob ID.";
}else{
mes "Select size for "+getmonsterinfo( .@mob_id,MOB_NAME );
.@size = select( "Medium Size","Small Size","Large Size" ) - 1;
close2;
// monster "this",-1,-1,"--ja--",.@mob_id,1,strnpcinfo(0)+"::OnMobKill";
monster "this",-1,-1,"--ja--",.@mob_id,1,strnpcinfo(0)+"::OnMobKill",.@size;
}
OnMobKill:
end;
}
.................{ doevent "Sample::OnTalk"; },{},{}