prontera,155,181,5 script Sample 757,{
function SubPart;
mes "Go in PVP Room ?";
switch( select("PVP Room:Trans PVP Room") ){
Case 1:
SubPart("guild_vs5",44);
break;
Case 1:
if( Upper < 1 ){
mes "Only Trans can Enter.";
}else{
SubPart("guild_vs5",44);
}
break;
}
close;
function SubPart {
if( getmapusers( getarg(0) ) > getarg(1) ){
mes "Room Full";
close;
}
warp getarg(0),0,0;
return;
}
OnInit:
waitingroom "Server PVP Room",0;
end;
}
guild_vs3 mapflag gvg off
guild_vs5 mapflag gvg off
guild_vs3 mapflag pvp
guild_vs5 mapflag pvp