options:
regionAdi: ABCD
on region enter:
wait 2 ticks
if "%region at player%" contains "{@regionAdi}":
set {region1::%player%} to true
on region exit:
wait 2 ticks
if "%region at player%" contains "{@regionAdi}":
set {region1::%player%} to false
on damage:
if {region1::%victim%} is true:
cancel event