prontera,155,181,5 script Sample#autokickpvp 757,{
if( select( "Enter PVP","Cancel" ) == 1 ){
attachnpctimer;
initnpctimer;
}
close;
OnTimer420000:
set .@temp_minute,.@temp_minute + 1;
OnTimer480000:
set .@temp_minute,.@temp_minute + 1;
OnTimer540000:
set .@temp_minute,.@temp_minute + 1;
dispbottom "Last "+.@temp_minute+" minute to kill before auto-warp out.";
end;
OnTimerQuit:
OnTimer600000:
dispbottom "Failed to kill any players within "+( getnpctimer(0) / 1000 )+" seconds. Auto-Kick out";
OnTimerQuit:
warp "SavePoint",0,0;
stopnpctimer;
end;
OnPCKillEvent:
setnpctimer 0;
end;
}