Good day again rAthena! Well, I made a pvp warper script, which is just a simple script that warps a player to some various pvp maps. I added a feature where the pvp warper will be disabled and a npc will be enabled which tells the players that the pvp room is locked. Here's my script:
celestiaj,73,86,6 script PVP Warper 497,{
mes "^ff0000[PVP Warper]^000000";
mes "Which PVP room do you want to warp to?";
next;
menu "Normal - No Restrictions",normal,"Trans - 2nd jobs only!",trans,"Non-donate Normal",nodonate,"Non-donate Trans",nodonate2,"Classic PVP - No Customs",classic,"Cancel",canc;
normal:
next;
announce "PVP: "+strcharinfo(0)+" just entered PVP:Normal!",bc_all,0x33FF99;
warp "pvp_n_1-5",0,0;
end;
trans:
next;
mes "^ff0000[PVP Warper]^000000";
mes "WARNING! If you're not a 2nd job trans player, you will be automatically warped out of the map!";
next;
mes "What will you do?";
menu "Proceed",proceed1,"Cancel",out1;
proceed1:
announce "PVP: "+strcharinfo(0)+" just entered PVP:Trans!",bc_all,0x33FF99;
warp "pvp_y_1-2",0,0;
end;
out1:
next;
close;
nodonate:
next;
mes "^ff0000[PVP Warper]^000000";
mes "WARNING! If you are equipped with donate equipments upon entering the map, you will be automatically be warped back to your save point!";
next;
mes "What will you do?";
menu "Proceed",proceed,"Cancel",out;
proceed:
next;
announce "PVP: "+strcharinfo(0)+" just entered PVP:Non-Donate!",bc_all,0x33FF99;
warp "pvp_n_4-3",0,0;
end;
out:
next;
close;
nodonate2:
next;
mes "Feature not yet impelemented";
close;
classic:
next;
mes "^ff0000[PVP Warper]^000000";
mes "WARNING! If you are equipped with any custom equipments upon entering the map, you will be automatically be warped back to your save point!";
next;
mes "What will you do?";
menu "Proceed",pro123,"Cancel",out123;
pro123:
next;
announce "PVP: "+strcharinfo(0)+" just entered PVP:Classic!",bc_all,0x33FF99;
warp "5@tower",0,0;
end;
out123:
next;
canc:
close;
OnInit:
disablenpc "PVP Locked";
}
celestiaj,73,86,6 script PVP Locked 497,{
waitingroom "PvP Rooms Locked!",0;
mes "^ff0000[PVP Warper]^000000";
mes "PvP Rooms are not accessible right now, please come back later.";
close;
}
- script woenopvp -1,{
OnClock1450:
announce "WoE is starting soon! PvP Rooms will be inaccessible!",bc_all,0x99FFFF;
disablenpc "PVP Warper";
enablenpc "PVP Locked";
end;
OnClock1601:
announce "WoE has ended! PvP Rooms are now accessible!",bc_all,0x99FFFF;
disablenpc "PVP Locked";
enablenpc "PVP Warper";
end;
OnClock2050:
announce "WoE is starting soon! PvP Rooms will be inaccessible!",bc_all,0x99FFFF;
disablenpc "PVP Warper";
enablenpc "PVP Locked";
end;
OnClock2201:
announce "WoE has ended! PvP Rooms are now accessible!",bc_all,0x99FFFF;
disablenpc "PVP Locked";
enablenpc "PVP Warper";
end;
}
It does lock the pvp room, but it doesn't unlock it. what might be wrong on my script? :/ Help anyone? Thanks in advance for those who are going to help
Question
sotf
Good day again rAthena! Well, I made a pvp warper script, which is just a simple script that warps a player to some various pvp maps. I added a feature where the pvp warper will be disabled and a npc will be enabled which tells the players that the pvp room is locked. Here's my script:
It does lock the pvp room, but it doesn't unlock it. what might be wrong on my script? :/
Help anyone? Thanks in advance for those who are going to help
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.