prontera,163,171,3 script PvP Arena Guardian 966,{
.@eaj = eaclass();
mes "[Guardian]";
mes "Saludos guerrero, a que arena deseas entrar?";
switch(select("3rd Job Arena:2nd Job Arena:All Job Arena")) {
case 1:
if ( (.@eaj & EAJL_THIRD) || .@eaj == EAJ_KAGEROUOBORO || .@eaj == EAJ_REBELLION ) {
switch( rand(4) ) {
case 1:
close2;
warp "guild_vs3",16,49;
end;
case 2:
close2;
warp "guild_vs3",50,83;
end;
case 3:
close2;
warp "guild_vs3",83,50;
end;
case 4:
close2;
warp "guild_vs3",50,16;
end;
}
} else {
mes "Solo 3rd jobs estan permitidos en esta arena.";
close;
}
end;
case 2:
if ( Upper == 1 && (.@eaj & EAJL_2) ) {
switch( rand(4) ) {
case 1:
close2;
warp "guild_vs2",89,49;
end;
case 2:
close2;
warp "guild_vs2",50,89;
end;
case 3:
close2;
warp "guild_vs2",9,50;
end;
case 4:
close2;
warp "guild_vs2",49,10;
end;
}
} else {
mes "Esta arena es solo para 2nd Jobs";
close;
}
end;
case 3:
switch( rand(4) ) {
case 1:
close2;
warp "pvp_n_1-5",99,134;
end;
case 2:
close2;
warp "pvp_n_1-5",133,100;
end;
case 3:
close2;
warp "pvp_n_1-5",100,65;
end;
case 4:
close2;
warp "pvp_n_1-5",66,99;
end;
}
end;
}
}
I tried using them, no errors but the options keep mixing, for example, i want to warp to 3rd job pvp but sometimes it warps to 2nd or all job pvp maps, and sometimes does not warp at all. I'm very new in scripting, so i would like a quick explanation on what and why its is wrong, not just a fix. thanks in advance ^^