개인 자료란 (JE)

  서버 커뮤니티

Profile 민111 대표칭호 없음
Profile

질문하기 스크립트

스크립트오류

2021.02.10 조회 수 110 추천 수 1

in 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, only if this inventory has an InventoryHolder may it be used in this state

이 오류에서 어느 사람이iname 말고 name of %inventory% 사용하세요. 이라고 답변해주셨는데요

if iname contains "&d[ 스카이팜 메뉴 ]": 말고

if name of %inventory% contains "&d[ 스카이팜 메뉴 ]": 

이렇게 고치면되나요

3개의 댓글

이하님
2021.02.11

1.13 이상 버전에서는 [On Inventory Click] 구문에서 인벤토리 이름을 불러올 수 없습니다.

대신, [Skript-Mirror] 애드온을 사용하여 다음 구문을 사용할 수 있습니다.

if event.getView().getTitle() contains "GUI이름":

CHAMISAL
2021.02.15

if event-inventory's display name contains " " 이거한번 써보세요

 

DDang_
2021.06.09

iname 을 버리시죠

뉴스 및 창작물
/files/thumbnails/115/774/003/262x150.crop.jpg?20240424234825

업데이트

마인크래프트 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

/files/thumbnails/505/766/003/262x150.crop.jpg?20240411122306

레드스톤

기동전사 건담 수성의 마녀 | 노트블럭 커버 1

노트블럭전문가

2024-04-11

1

/files/thumbnails/932/765/003/262x150.crop.jpg?20240410124459

레드스톤

마인크래프트 노트블록으로 만든 『 밤양갱 (Bam Yang Gang) 』

노트블럭전문가

2024-04-10

0