Find OnJoinEvent:
add before sc_end SC_ALL;
if(getcharid(1)) {
dispbottom("Players with a party can't enter!");
end;
}
It should be like:
OnJoinEvent:
mes "[ Event Status ]";
mes "Event are as follows : ";
next;
switch(select(
"Dice Event - "+ ((getvariableofnpc(.start,"Event_Dice") == 1) ? "^0000ffJoin Event":((getvariableofnpc(.start,"Event_Dice") == 2) ? "^0000ffEvent On-Going":"^ff0000Not Available"))+"^000000",
"Last Man Standing - "+ ((getvariableofnpc(.start,"Event_LMS") == 1) ? "^0000ffJoin Event":((getvariableofnpc(.start,"Event_LMS") == 2) ? "^0000ffEvent On-Going":"^ff0000Not Available"))+"^000000",
"Poring Catcher - "+ ((getvariableofnpc(.start,"Poring_Catcher") == 1) ? "^0000ffJoin Event":((getvariableofnpc(.start,"Poring_Catcher") == 2) ? "^0000ffEvent On-Going":"^ff0000Not Available"))+"^000000"
)) {
case 1:
.@start = getvariableofnpc(.start,"Event_Dice");
.@map$ = "quiz_02"; .@x = 55; .@y = 87;
break;
case 2:
.@start = getvariableofnpc(.start,"Event_LMS");
.@map$ = "06guild_01"; .@x = 0; .@y = 0;
break;
case 3:
.@start = getvariableofnpc(.start,"Poring_Catcher");
.@map$ = "poring_w01"; .@x = 100; .@y = 100;
break;
}
if ( !.@start ) {
mes "Event is not available.";
close;
} else if ( .@start == 2 ) {
mes "Event is on-going";
close;
}
if(getcharid(1)) {
dispbottom("Players with a party can't enter!");
end;
}
sc_end SC_ALL;
percentheal 100,100;
warp .@map$, .@x, .@y;
end;