windwolf0 eb03c9f65da24c338ffbbc8703e369b8
게임버전 (JE) | 1.12.2 |
---|---|
게임버전 (BE) | 관련없음 |
스크립트 버전 | 2.2-dev27 |
command /카드셋팅 [<string>]:
trigger:
if arg 1 parsed as integer is between 1 and 4:
set {_ran} to random integer between 1 and 14
if {_ran} is between 1 and 1:
force player run command "/hd setline %arg 1% 1 1" as op
if {_ran} is between 2 and 2:
force player run command "/hd setline %arg 1% 1 2" as op
if {_ran} is between 3 and 3:
force player run command "/hd setline %arg 1% 1 3" as op
if {_ran} is between 4 and 4:
force player run command "/hd setline %arg 1% 1 4" as op
if {_ran} is between 5 and 5:
force player run command "/hd setline %arg 1% 1 5" as op
if {_ran} is between 6 and 6:
force player run command "/hd setline %arg 1% 1 6" as op
if {_ran} is between 7 and 7:
force player run command "/hd setline %arg 1% 1 7" as op
if {_ran} is between 8 and 8:
force player run command "/hd setline %arg 1% 1 8" as op
if {_ran} is between 9 and 9:
force player run command "/hd setline %arg 1% 1 9" as op
if {_ran} is between 10 and 10:
force player run command "/hd setline %arg 1% 1 10" as op
if {_ran} is between 11 and 11:
force player run command "/hd setline %arg 1% 1 A" as op
if {_ran} is between 12 and 12:
force player run command "/hd setline %arg 1% 1 J" as op
if {_ran} is between 13 and 13:
force player run command "/hd setline %arg 1% 1 Q" as op
if {_ran} is between 14 and 14:
force player run command "/hd setline %arg 1% 1 K" as op
이런식으로 arg1 에 해당하는 홀로그래픽의 글자를 바꾸는 형식인대 좀 간단하게 줄일수있는 방법은 없을까요..
그리고 명령어한개로 1~4까지의 홀로그래픽을 각각 다른 값으로 바꾸는 방법은 없을까요,,
스크립터브혼
2021.12.20