prontera,144,175,5 script PvP Warper 88,{
mes "^FF6600[PVP Warper]^000000";
mes "^990066To participate, just enter the chat room and wait. If two players are";
mes "inside the chat room, they will be warped automatically. The players";
mes "who are left in the chat room should now wait for the players inside to finish.";
close;
OnInit:
waitingroom "1vs1 PvP Warper",20,"PvP Warper::OnFull",2,1000000;
enablewaitingroomevent "PvP Warper";
end;
OnPCKillEvent:
set .@map$,"pvp_y_2-2";
if( .@map$ == "pvp_y_2-2" ){
announce strcharinfo(0)+" has killed "+rid2name(killedrid)+".",0;
mapwarp "pvp_y_2-2","prontera",150,150;
end;
}
OnFull:
disablewaitingroomevent "PvP Warper";
warpwaitingpc "pvp_y_2-2",128,116;
announce "PvPBet: You have 5 Minutes to finish.",0;
addtimer 300000, strnpcinfo(3)+"::On5Minutes";
initnpctimer;
end;
On5Minutes:
announce "Times up",0;
mapwarp "pvp_y_2-2","prontera",150,150;
end;
}
Here.