1- entrance talk to npc to gain acces to dungeon they must be in a party then get warped to dungeon level 1
if (instance_check_party(getcharid(1),number of party members,min level required,max level)) {
warp "map", 150, 150;
} else {
mes "message here";
close;
}
2- On dungeon level 2 there are 3 mvps... by killing 1 npc i want to show up a global message saying : (partyname) has killed a Shadow Keeper of the Realms.
Spawn:
.mob = 3;
areamonster "map",150,150,10,10,"Shadow Keeper of the Realms 1",monster id,number of spawn,strnpcinfo(1)+"::OnMobKilled";
areamonster "map",150,150,10,10,"Shadow Keeper of the Realms 2",monster id,number of spawn,strnpcinfo(1)+"::OnMobKilled";
areamonster "map",150,150,10,10,"Shadow Keeper of the Realms 3",monster id,number of spawn,strnpcinfo(1)+"::OnMobKilled";
3. on killing al the 3 keepers i want to give evreone who is in the party a item like lets take as example an apple..
OnMobKilled:
.mob--;
if ( !.mob ) {
enablenpc "apple_giver";
} else {
announce "Kill the 3 monsters to get your apples!";
}
end;
Then just create an NPC that will give them the reward. Hope you get the idea. Good luck!
P.S. Not yet tested and it was written using my phone's notepad.