Just change
mes "Er hat bestimmt weitere Missionen, wo du ihm helfen kannst.";next;if(PoringKills < 10) goto l_nokills;set PoringKills,PoringKills - 10; getitem 569,400; getexp 500,300; close;l_nokills:mes "Du hast noch keine 10 Poringe besiegt.!";
to
mes "Er hat bestimmt weitere Missionen, wo du ihm helfen kannst.";
if(PoringKills < 10) goto l_nokills;
set PoringKills,PoringKills - 10;
getitem 569,400;
getexp 500,300;
close;
l_nokills:
next;
mes "Du hast noch keine 10 Poringe besiegt.!";
And here is your script refactored for learning purpose:
chry_fld,62,73,4 script Uppe 894,{
mes "Hallo ich bin Uppe.";
mes "Ich brauche deine Hilfe!";
mes "Kannst du bitte 10 Poringe besiegen.";
mes "Ich gebe dir auch eine kleine Belohnung.";
next;
mes "Danke das du 10 Poringe besiegt hast.";
mes "Hier ist deine Belohnung.";
mes "Kannst du mir noch einen Gefallen tun?";
mes "Solltest du nach Prontera reisen, kannst du meinen Bruder Ornn besuchen";
mes "Er hat bestimmt weitere Missionen, wo du ihm helfen kannst.";
if( PoringKills == 10 )
{
PoringKills = 0;
getitem 569,400;
getexp 500,300;
}
else
{
next;
mes "Du hast noch keine 10 Poringe besiegt.!";
mes "Komm wieder wenn du sie besiegt hast.!";
}
close;
OnNPCKillEvent:
if( killedrid == 1002 && PoringKills < 10 )
PoringKills++;
end;
OnInit:
waitingroom "Novice Mission",0;
end;
}