your script is working fine, just that your dispbottom make you thought that you script is running infinite time. ==''
- script Sample -1,{
OnNPCKillEvent:
for( .@i = 0; .@i < .mob_size; .@i++ )
if( killedrid == .mob_id[.@i] ){
getitem 512,1;
end;
}
dispbottom "No Drops";
end;
OnInit:
setarray .mob_id[0],1085,1084,1079,1080,1078,1083,1082,1081,1097;
.mob_size = getarraysize( .mob_id );
end;
}
btw, if you have an infinity loop in your script, dispbottom doesnt solve the issue in fact it could make it worse.
Anyway, if a script have infinite loop it should be auto terminated and display error in your map-server.