MukkiesftKies Posted May 7, 2014 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 123 Reputation: 7 Joined: 03/13/12 Last Seen: January 2, 2019 Share Posted May 7, 2014 I have 3 map for pvp.1. guild_vs3 2. pvp_y_1-2 3. arena Map number 1 and 2 can use everyday.But map number 3 only can use on saturday and sunday.So I want pvp warper work like that. Quote Link to comment Share on other sites More sharing options...
sandbox Posted May 8, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted May 8, 2014 prontera,100,200,3 script PvP Warper 78,{ mes .Npc_Name$; mes "Hello! Which PvP area do you wanna go?"; switch(@menu = select(implode(.map$,":"))){ next; mes .Npc_Name$; case 1: case 2: mes "Goodluck!"; if(!@menu-1) { warp .map$[@menu-1],50,50; } else warp .map$[@menu-1],100,200; break; case 3: if(!gettime(4) || gettime(4) == 6) { warp .map$[@menu-1],100,100; } else mes "I only work on weekends."; break; } end; OnInit: .Npc_Name$ = strcharinfo(1); setarray .map$[0],"guild_vs3","pvp_y_1-2","arena"; end; } Try. Quote Link to comment Share on other sites More sharing options...
MukkiesftKies Posted May 8, 2014 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 123 Reputation: 7 Joined: 03/13/12 Last Seen: January 2, 2019 Author Share Posted May 8, 2014 parse_simpleexpr: unmatch ')' 1 : { 2 : 3 : mes .Npc_Name$; 4 : mes "Hello! Which PvP area do you wanna go?"; * 5 : switch(@menu '=' select(implode(.map$,":"))){ 6 : next; 7 : mes .Npc_Name$; 8 : case 1: 9 : case 2: 10 : mes "Goodluck!"; I found error at line 5. I use eathena SVN r15266M. Quote Link to comment Share on other sites More sharing options...
Question
MukkiesftKies
I have 3 map for pvp.
1. guild_vs3
2. pvp_y_1-2
3. arena
Map number 1 and 2 can use everyday.
But map number 3 only can use on saturday and sunday.
So I want pvp warper work like that.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.