이해도 | 입문자 |
---|---|
게임버전 (JE) | 1.12 |
게임버전 (BE) | 관련없음 |
어떻게 설정해야 하나요?
command /쿠폰입력 [<text>]:
trigger:
send "&7[ &6쿠폰 &7] 올바르지 않은 쿠폰이거나, 쿠폰번호를 입력하지 않았습니다. 사용 방법 : /쿠폰입력 <번호>"
command /쿠폰설정 [<text>]:
permission: op
trigger:
open chest with 3 row named "쿠폰설정%arg 1%" to player
wait 1 tick
loop {쿠폰설정%arg 1%::*}:
set {_index} to "%loop-index%" parsed as integer
set slot {_index} of current inventory of player to loop-value
on inventory close:
if inventory name of current inventory of player contains "쿠폰설정":
delete {%inventory name of current inventory of player%::*}
loop 27 times:
set {_slot} to loop-number -1
if slot {_slot} of current inventory of player is not air:
set {%inventory name of current inventory of player%::%{_slot}%} to slot {_slot} of current inventory of player
구문은 이렇습니다
qsef1256
2023.02.20쿠폰설정 이라는 명령어가 대놓고 있는데요.