I have a script that resurrects in pvp when the player dies in a countdown.
But if the character is dead and selects to go to prontera, he returns to pvp.
How to adjust the script so it comes out promptly.
OnPCDieEvent:
if( strcharinfo(3) == "pvpamap" ) {
sleep2 1000;
}
end;
}
Where to change so that when he clicks back to ready, the script does not take him back to pvp

But if the character is dead and selects to go to prontera, he returns to pvp.
How to adjust the script so it comes out promptly.
OnPCDieEvent:
if( strcharinfo(3) == "pvpamap" ) {
sleep2 1000;
}
end;
}
Where to change so that when he clicks back to ready, the script does not take him back to pvp

