prontera,146,171,6 script Portal Square 89,{
.@n$ = "[^3355FF Portal Square ^000000]";
.@party_id = getcharid(1);
.@p_name$ = getpartyname(.@party_id);
.@instance$ = "Portal Square";
if (getcharid(0) != getpartyleader(.@party_id,2)) {
mes .@n$;
mes "In able to enter the Portal Square, you must have a party.";
close
}
mes .@n$;
mes "Portal Square is available everyday for 1 hour and 30 minutes.";
mes "Remember, the room and everything inside including boss chamber and other resources, watch out for enemies as well since the room are pk free.";
next;
switch(select("Enter the Room:Cancel")) {
case 1:
switch(instance_enter("Portal Square")) {
case 3:
mes .@n$;
mes "You doesn't have a party.";
close;
case 2:
mes .@n$;
mes "You can enter the room after making a party.";
end;
}
break;
case 2:
mes .@n$;
mes "Have a nice day then, see you later!.";
break;
}
close;
}
//==================================================================================
//--------|Map Flags|---------------------------------------------------------------
//==================================================================================
prt_maze01 mapflag monster_noteleport
prt_maze01 mapflag nowarpto
prt_maze01 mapflag nomemo
prt_maze01 mapflag noteleport
prt_maze01 mapflag nosave SavePoint
prt_maze01 mapflag nopenalty
prt_maze01 mapflag pvp
remove unnecessary brackets