첨부파일
!reflect.sk
파일 다운로드

테스트 환경

• Skript 2.8.5

• Skript-reflect 2.4

import: ch.njol.skript.lang.Condition condition [(1¦!)]%boolean%: check: negate condition if parse mark = 1 continue if expr-1 is true condition <(.+)> ((&&|and)|or:(\|\||or)) <(.+)>: parse: set {_condition1} to Condition.parse("%regex-1%" and "Can't understand this condition: %regex-1%") set {_condition2} to Condition.parse("%regex-2%" and "Can't understand this condition: %regex-2%") if all: {_condition1} is set {_condition2} is set then: continue check: if parse tags contains "or": if any: {_condition1}.check(event) is true {_condition2}.check(event) is true then: continue else: if all: {_condition1}.check(event) is true {_condition2}.check(event) is true then: continue
command /test: trigger: (if player's world is "world") && (if player is alive): broadcast "test" # if구문에는 괄호()를 추가하여 스크립트 자체적으로 parser에 무리가 없도록 씌워줘야 함.