on death:

@if victim is player:

@@if attacker is player:

@@@set {_imsi} to 0

@@@loop 41 times:

@@@@set {살인보호::%victim's uuid%::%loop-num%} to slot {_imsi} of victim's inventory

@@@@add 1 to {_imsi}

@@@wait 1 tick

@@@delete dropped items

@@else if victim have paper named "&5[보호권]":

@@@remove paper named "&5[보호권]" from victim's inventory

@@@set {_imsi} to 0

@@@loop 41 times:

@@@@set {인벤보호::%victim's uuid%::%loop-num%} to slot {_imsi} of victim's inventory

@@@@add 1 to {_imsi}

@@@wait 1 tick

@@delete dropped items

@@message "{@설명} 보호권이 사용되었음." to victim


on respawn:

@if {살인보호::%player's uuid%::*} is set:

@@set {_imsi} to 0

@@loop 41 times:

@@@set slot {_imsi} of player's inventory to {살인보호::%player's uuid%::%loop-num%}

@@@add 1 to {_imsi}

@@delete {살인보호::%player's uuid%::*}


@if {인벤보호::%player's uuid%::*} is set:

@@set {_imsi} to 0

@@loop 41 times:

@@@set slot {_imsi} of player's inventory to {인벤보호::%player's uuid%::%loop-num%}

@@@add 1 to {_imsi}

@@delete {인벤보호::%player's uuid%::*}


분명 오피랑 관련된 구문은 전혀 없는데 오피가 있을땐 잘 작동하던 기능이 오피만 없으면 "보호권이 사용되었음." 구문은 뜨면서 리스폰시 템 복구가 안됨.