prontera.gat,162,183,6 script PvP Warper 939,{
mes "[PvP Warper]";
mes "Which arena do you want to go to?";
next;
switch(select("PVP Arena["+getmapusers("pvp_y_1-2")+"/100]:Baby PvP Room ["+getmapusers("pvp_y_5-2")+"/100]")) {
case 1: // Normal Pvp
if (getmapusers("pvp_y_1-2") > 99) callsub S_full;
sc_end SC_ALL;
percentheal 100,100;
sc_start SC_BLESSING,300000,10;
sc_start SC_INCREASEAGI,300000,10;
specialeffect2 EF_BLESSING;
specialeffect2 EF_INCAGILITY;
warp "pvp_y_1-2",0,0;
OnPCDieEvent:
if( strcharinfo(3) == "pvp_n_1-2" ){
sleep2 100;
atcommand "@Alive";
warp strcharinfo(3),0,0;
}
end;
Case 2: // Baby 3rd job PvP Room
if (getmapusers("pvp_y_5-2") > 99) callsub S_full;
if (class < 4096 || class > 4108) goto L_Not3Baby;
warp "pvp_y_5-2",0,0;
OnPCDieEvent:
if( strcharinfo(3) == "pvp_y_5-2" ){
sleep2 100;
atcommand "@Alive";
warp strcharinfo(3),0,0;
}
end;
L_Not3Baby:
mes "[PvP Warper]";
mes "Only baby class can enter this room";
close;
}
S_full:
mes "[PvP Warper]";
mes "I'm sorry, this arena is full. Please try again later...";
close;
}