HisokaMachi 0 Posted January 15, 2014 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 Quote Share this post Link to post Share on other sites
0 Lelouch 10 Posted January 15, 2014 (edited) 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 January 15, 2014 by Lelouch 1 samurai reacted to this Quote Share this post Link to post Share on other sites
0 HisokaMachi 0 Posted January 17, 2014 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? Quote Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites