개인 자료란 (JE)

  서버 커뮤니티

Profile 타오임다 정품인증자

taome01 aac6f60e5d804b88a917cea4f999c09f

Profile

질문하기 스크립트

스크립트 GUI 관련 질문

2023.01.18 조회 수 89 추천 수 0
이해도 중급자 
게임버전 (JE) 1.19.2 
게임버전 (BE) 관련없음 
스크립트 버전 2.6.4 
스크립트 애드온 SkQuery-4.1.8 / skUtilities.v0.9.2 

command /상점 [<text>] [<integer>] [<text>] [<text>] [<text>] [<text>]:

    trigger:

        if arg 1 is not set:

            wait 3 tick

            open chest with 5 rows named "&e상점" to player

            set {_coi} to -1

            loop 45 times:

                add 1 to {_coi}

                if {상점_번호_%{_coi}%} is set:

                    format slot {상점_번호_%{_coi}%} of player with {상점_아이템_%{_coi}%} named "%{상점_이름_%{_coi}%}%" with lore "%{상점_설명_%{_coi}%}%" to close then run [execute player command "%{상점_명령어_%{_coi}%}%"]

                else:

                    format slot {_coi} of player with gray stained glass pane named " " to close then run [execute player command "/상점"]

--------

{상점_번호_%{_coi}%} = 10

{상점_아이템_%{_coi}%} = stone

{상점_이름_%{_coi}%} = 테스트

{상점_설명_%{_coi}%} = 테스트

{상점_명령어_%{_coi}%} = /상점

으로 되있습니다

초록색 부분에서 아이템이 적용이 안됍니다.


Warning
댓글이 없습니다.

새로운 댓글을 등록해 주세요!

뉴스 및 창작물
/files/thumbnails/268/789/003/262x150.crop.jpg?20240515192032

레드스톤

벌레먹은 돌 빠르게 제거하는 법

GlassesFilm

2024-05-15

0

/files/thumbnails/797/788/003/262x150.crop.jpg?20240515090924

건축

마인크래프트로 구현한 카르카손 보드게임

Warak

2024-05-15

1

/files/thumbnails/487/784/003/262x150.crop.jpg?20240508233607

모드

Windows Borderless 모드에서 악성코드 발견

학교가기싫다

2024-05-08

1

/files/thumbnails/384/778/003/262x150.crop.jpg?20240512002324

업데이트

마인크래프트 자바 에디션 스냅샷 24w18a

학교가기싫다

2024-05-06

0

/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1