can some one edit this pvp warp script

HisokaMachi

New member
Messages
75
Points
0
Location
Quezon City
Emulator
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
default_smile.png

 
 
//===== 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
 
Try this...

Code:
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;}
 
Last edited by a moderator:
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?

 
Back
Top