Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- invek,150,169,4 script PVP Room::PVP Room 875,{
- mes "[PVP Room Receptionist]";
- mes "Are you ready to battle?";
- menu
- "Yes , let's battle !",S_freeforall,"No , I am here for peace. ",S_cancel;
- S_3rdjobroom:
- if(Class >= 4008 && Class <= 4021) goto S_Notallowed;
- mes "This PvP room is for 3rd job.";
- mes"Please Choose Your Pvp map";
- if( class == 4013 || class == 4059){
- sc_end SC_SPIRIT;}
- set .@mapcount_2,getmapusers("pvp_y_7-2");
- set .@mapcount_1,getmapusers("pvp_y_7-1");
- set .@mapcount_3,getmapusers("pvp_y_7-3");
- set .@mapcount_4,getmapusers("pvp_y_7-4");
- set .@mapcount_5,getmapusers("pvp_y_7-5");
- while(1) {
- switch(select("Izulde[ "+.@mapcount_2+" / 128 ]:Prontera [ "+.@mapcount_1+" / 128 ]:Payon [ "+.@mapcount_3+" / 128 ]:Alberta [ "+.@mapcount_4+" / 128 ]:Morroc [ "+.@mapcount_5+" / 128 ]:Cancel")) {
- case 1:
- callsub S_CheckPVPRoom,@mapcount_2,"pvp_y_7-2";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 2:
- callsub S_CheckPVPRoom,@mapcount_1,"pvp_y_7-1";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 3:
- callsub S_CheckPVPRoom,@mapcount_3,"pvp_y_7-3";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 4:
- callsub S_CheckPVPRoom,@mapcount_4,"pvp_y_7-4";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 5:
- callsub S_CheckPVPRoom,@mapcount_5,"pvp_y_7-5";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 6:
- close;
- }
- }
- S_2ndjobroom:
- if(Class >= 4054 && Class <= 4085) goto S_Notallowed;
- mes "This PvP room is for 2nd job.";
- mes"Please Choose Your Pvp map";
- set .@mapcount_2,getmapusers("pvp_y_8-2");
- set .@mapcount_1,getmapusers("pvp_y_8-1");
- set .@mapcount_3,getmapusers("pvp_y_8-3");
- set .@mapcount_4,getmapusers("pvp_y_8-4");
- set .@mapcount_5,getmapusers("pvp_y_8-5");
- while(1) {
- switch(select("Izulde[ "+.@mapcount_2+" / 128 ]:Prontera [ "+.@mapcount_1+" / 128 ]:Payon [ "+.@mapcount_3+" / 128 ]:Alberta [ "+.@mapcount_4+" / 128 ]:Morroc [ "+.@mapcount_5+" / 128 ]:Cancel")) {
- case 1:
- callsub S_CheckPVPRoom2,@mapcount_2,"pvp_y_8-2";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 2:
- callsub S_CheckPVPRoom2,@mapcount_1,"pvp_y_8-1";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 3:
- callsub S_CheckPVPRoom2,@mapcount_3,"pvp_y_8-3";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 4:
- callsub S_CheckPVPRoom2,@mapcount_4,"pvp_y_8-4";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 5:
- callsub S_CheckPVPRoom2,@mapcount_5,"pvp_y_8-5";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 6:
- close;
- }
- }
- S_freeforall:
- mes "This PVP room is free for all.";
- mes"Please choose your PVP map";
- set .@mapcount_2,getmapusers("pvp_y_6-2");
- set .@mapcount_1,getmapusers("pvp_y_6-1");
- set .@mapcount_3,getmapusers("pvp_y_6-3");
- set .@mapcount_4,getmapusers("pvp_y_6-4");
- set .@mapcount_5,getmapusers("pvp_y_6-5");
- while(1) {
- switch(select("Izulde[ "+.@mapcount_2+" / 128 ]:Prontera [ "+.@mapcount_1+" / 128 ]:Payon [ "+.@mapcount_3+" / 128 ]:Alberta [ "+.@mapcount_4+" / 128 ]:Morroc [ "+.@mapcount_5+" / 128 ]:Cancel")) {
- case 1:
- callsub S_CheckPVPRoom1,@mapcount_1,"pvp_y_6-2";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 2:
- callsub S_CheckPVPRoom1,@mapcount_2,"pvp_y_6-1";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 3:
- callsub S_CheckPVPRoom1,@mapcount_3,"pvp_y_6-3";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 4:
- callsub S_CheckPVPRoom1,@mapcount_4,"pvp_y_6-4";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 5:
- callsub S_CheckPVPRoom1,@mapcount_5,"pvp_y_6-5";
- if ( class == 4013 || class == 4059 ){
- sc_end SC_SPIRIT;}
- break;
- case 6:
- close;
- }
- }
- S_Notallowed:
- mes "[PVP Fight Square Reception Staff]";
- mes "You are not allowed to join this room!";
- close;
- S_CheckPVPRoom:
- if ( BaseLevel < 80 ) {
- mes "Only player with Level 80 and above can enter PVP.";
- close;
- }
- if (getarg(0) >= 128) {
- mes "[PVP Fight Square Reception Staff]";
- mes "This map is currently full.";
- next;
- return;
- }
- else {
- announce strcharinfo(0) + " has entered 3rd Job PvP Room !",0;
- warp getarg(1),0,0;
- end;
- }
- S_CheckPVPRoom1:
- if ( BaseLevel < 80 ) {
- mes "Only player with Level 80 and above can enter PVP.";
- close;
- }
- if (getarg(0) >= 128) {
- mes "[PVP Fight Square Reception Staff]";
- mes "This map is currently full.";
- next;
- return;
- }
- else {
- announce strcharinfo(0) + " has entered PVP room !",0;
- warp getarg(1),0,0;
- end;
- }
- S_CheckPVPRoom2:
- if ( BaseLevel < 80 ) {
- mes "Only player with Level 80 and above can enter PVP.";
- close;
- }
- if (getarg(0) >= 128) {
- mes "[PVP Fight Square Reception Staff]";
- mes "This map is currently full.";
- next;
- return;
- }
- else {
- announce strcharinfo(0) + " has entered 2nd Job PvP Room !",0;
- warp getarg(1),0,0;
- end;
- }
- S_cancel:
- close;
- }
- payon,189,104,4 duplicate(PVP Room) PVP Room#1 875
- pvp_y_6-1 mapflag nobranch
- pvp_y_6-2 mapflag nobranch
- pvp_y_6-3 mapflag nobranch
- pvp_y_6-4 mapflag nobranch
- pvp_y_6-5 mapflag nobranch
- pvp_y_6-1 mapflag nogo
- pvp_y_6-2 mapflag nogo
- pvp_y_6-3 mapflag nogo
- pvp_y_6-4 mapflag nogo
- pvp_y_6-5 mapflag nogo
- pvp_y_6-2 mapflag nobranch
- pvp_y_6-2 mapflag noreturn
- pvp_y_6-2 mapflag nomemo
- pvp_y_6-2 mapflag nowarpto
- pvp_y_6-2 mapflag noteleport
- pvp_y_6-2 mapflag nosave SavePoint
- pvp_y_6-1 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-3 mapflag pvp
- pvp_y_6-4 mapflag pvp
- pvp_y_6-5 mapflag pvp
- pvp_y_6-1 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-3 mapflag pvp
- pvp_y_6-4 mapflag pvp
- pvp_y_6-5 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-2 mapflag pvp
- pvp_y_6-2 mapflag pvp
Add Comment
Please, Sign In to add comment