Code:
on damage:
set {pvp::%victim%} to true
on quit:
if {pvp::%player%} is true:
execute console command "warn %player% don't quit on pvp"
if {pvp::%player%} is true:
wait 20 seconds:
if player took no damage:
set {pvp::%player%} to false
can't understand this event: 'if {pvp::%player%} is true' (bpvp.sk, line 8: if {pvp::%player%} is true:')