개인 자료란 (JE)

  서버 커뮤니티

Profile 미플레이 대표칭호 없음
Profile

질문하기 스크립트

스크립트 gui 컨디션 추가 질문

2022.04.30 조회 수 236 추천 수 0
이해도 초보자(스크립트 구성요소나 기본문법은 알아요) 
게임버전 (JE) 관련없음 
게임버전 (BE) 관련없음 

스크립트 gui에서

open chest with 5 rows named "이름" to the player

            format slot 40 of player with 아이템 named "이름" with lore "설명" to close then run [구문]

이런식일때 구문의 실행 조건에 컨디션을 추가할 방법은 없나요?

즉,아이템을 클릭했어도 다른 조건(컨디션)에 어긋나면 실행되지 않거나 다른 구문이 실행되게 하는법이 궁금합니다




2개의 댓글

거너아나
2022.04.30

on inventory click:

@if name of player's current inventory is "이름":

@@if name of clicked item is "이름":

@@@대충 조건:

@@@@[구문]

qsef1256
2022.05.03

https://github.com/APickledWalrus/skript-gui/wiki/2.-Modifying-the-contents-of-a-GUI 참고 하셔서, 


command /opengui:
  trigger:
    create a gui with virtual chest inventory with 3 rows named "My EPIC GUI!" and shape "xxxxxxxxx", "x-------x", and "xxxxxxxxx":
      make gui slot "x" with dirt named "! BORDER !":
        send "Say goodbye to your GUI border %player%!" to player
        remove gui slot "x"
    open the last gui for the player

꼴이 되게 만들어보세요.

뉴스 및 창작물
/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1

/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

/files/thumbnails/115/774/003/262x150.crop.jpg?20240428135129

업데이트

마인크래프트 1.20.5 정식 업데이트

학교가기싫다

2024-04-24

0

/files/thumbnails/762/770/003/262x150.crop.jpg?20240418073724

레드스톤

T.B.H (고민중독) | 노트블럭 버전 | NoteBlock Cover [한국어 영어 중국어 가사 추가]

노트블럭전문가

2024-04-18

0

/files/thumbnails/218/767/003/262x150.crop.jpg?20240412130213

레드스톤

우리의 꿈 - 원피스 오프닝

노트블럭전문가

2024-04-12

0