Jump to content
  • 0
Sign in to follow this  
HisokaMachi

can some one edit this pvp warp script

Question

i want it to have another option for pvp room. example when i click yes i have a choice of IZLUDE OR MORROC as a pvp  room to enter. hope some on can help thanks :)
 
 
//===== rAthena Script ======================================= 
//= Untitle Script
//===== By: ================================================== 
//= Zealock!
//===== Current Version: ===================================== 
//= 1.0
//===== Compatible With: ===================================== 
//= rAthena , eAthena
//===== Description: ========================================= 
//= PVP Warper
//============================================================
 
prontera,160,182,4 script PvP Warper 966,{
 
 
mes "[ PVP Warper ]";
mes "Would You Like to Enter the Room?";
next;
menu "Yes, I'm Hunger for Blood",PatayanNa,"No, Too Lazy to Kill",No;
 
PatayanNa:
mes "[ PvP Warper ]";
mes "You Made the Right Choice!";
next;
mes "Let's Go!";
warp "pvp_y_1-2",0,0;
L_All:
announce "[ PvP Warper ] Announcer:  "+strcharinfo(0)+" has Enter the Room ",0;
close;
 
 
No:
mes "[ PvP Warper ]";
mes "Are you Scared?";
next;
mes "Come Back Again, if you already have the Guts!";
close;
 
//WAITING ROOM updates every 2.5 second
OnInit:
    while(1) {
delwaitingroom;
waitingroom "PvP Warper ["+getmapusers("pvp_y_1-2")+"]",0;
sleep 2500; //2.5 seconds
}
end;
}
 
// Mapflags
pvp_y_1-2 mapflag nogo

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Try this...

 

 

prontera,160,182,4    script    PvP Warper    966,{//=================================================set .npcname$,    "[^0000FFPvP Warper^000000]";//=================================================    mes .npcname$;    mes "Which arena do you want to go to?";    switch(select(PvP Izlude ["+getmapusers("pvp_y_1-2")+"/100]:PvP Morocc ["+getmapusers("pvp_y_1-5")+"/100]:Cancel")) {        case 1:        if (getmapusers("pvp_y_1-2") > 99) {            mes .npcname$;            mes " ";            mes "I'm sorry, this arena is full.  Please try again later...";            close;        }        warp "pvp_y_1-2",0,0;        announce strcharinfo(0)+" has entered PvP Izlude!",bc_all;        end;                case 2:        if (getmapusers("pvp_y_1-5") > 99) {            mes .npcname$;            mes " ";            mes "I'm sorry, this arena is full.  Please try again later...";            close;        }        warp "pvp_y_1-5",0,0;        announce strcharinfo(0)+" has entered PvP Morocc!",bc_all;        end;                case 3:            close;    }    OnInit:    waitingroom "[PvP Warper]",0;    end;}

 

 

Edited by Lelouch

Share this post


Link to post
Share on other sites
  • 0

Try this...

 

 

prontera,160,182,4    script    PvP Warper    966,{//=================================================set .npcname$,    "[^0000FFPvP Warper^000000]";//=================================================    mes .npcname$;    mes "Which arena do you want to go to?";    switch(select(PvP Izlude ["+getmapusers("pvp_y_1-2")+"/100]:PvP Morocc ["+getmapusers("pvp_y_1-5")+"/100]:Cancel")) {        case 1:        if (getmapusers("pvp_y_1-2") > 99) {            mes .npcname$;            mes " ";            mes "I'm sorry, this arena is full.  Please try again later...";            close;        }        warp "pvp_y_1-2",0,0;        announce strcharinfo(0)+" has entered PvP Izlude!",bc_all;        end;                case 2:        if (getmapusers("pvp_y_1-5") > 99) {            mes .npcname$;            mes " ";            mes "I'm sorry, this arena is full.  Please try again later...";            close;        }        warp "pvp_y_1-5",0,0;        announce strcharinfo(0)+" has entered PvP Morocc!",bc_all;        end;                case 3:            close;    }    OnInit:    waitingroom "[PvP Warper]",0;    end;}

 

 

hey sorry for the late reply does that pvp warper shows how many people are inside?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.