PapaZola Posted November 25, 2014 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share Posted November 25, 2014 hello guys here my pvp script http://pastebin.com/eDhxFF9r its posibble to make opened pvp party only around 8 PM - 11 PM thats mean pvp solo and 1 vs 1 will closed if 8 PM - 11PM Quote Link to comment Share on other sites More sharing options...
Nerfwood Posted November 25, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 104 Reputation: 27 Joined: 12/05/13 Last Seen: August 26, 2015 Share Posted November 25, 2014 its posibble to make opened pvp party only around 8 PM - 11 PM thats mean pvp solo and 1 vs 1 will closed if 8 PM - 11PM Use the OnClock<time>, label and then set an npc-only variable to disable access to the said rooms. Sample: OnClock2000: set .partyonly,1; announce "1v1 and No Party PvP rooms have been closed.",bc_all; end; OnClock2300: set .partyonly,0; announce "1v1 and No-Party PvP rooms are now open.",bc_all; end; Then, add an if statement: switch( select( "PVP No Party ["+getmapusers("guild_vs3")+"]", "PVP Normal ["+getmapusers("Party_PvP")+"]", "PVP 1 vs 1 ["+getmapusers("1vs1_PvP")+"]" ) ){ Case 1: if(.partyonly) { mes "This PvP room is currently closed. Please comeback later."; close; } warp "guild_vs3",0,0; break; Case 2: warp "Party_PvP",0,0; break; Case 3: if(.partyonly) { mes "This PvP room is currently closed. Please comeback later."; close; } if( getmapusers("1vs1_PvP") > 1 ){ mes "Room Full"; }else{ warp "1vs1_PvP",40,34; } break; } close; You can also disable the rooms by making the menu as a variable instead, then change its value with the OnClock label. I haven't tested that yet though. 1 Quote Link to comment Share on other sites More sharing options...
Question
PapaZola
hello guys
here my pvp script
http://pastebin.com/eDhxFF9r
its posibble to make opened pvp party only around 8 PM - 11 PM
thats mean pvp solo and 1 vs 1 will closed if 8 PM - 11PM
Link to comment
Share on other sites
1 answer 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.