개인 자료란 (JE)

  서버 커뮤니티

Profile 민111 대표칭호 없음
Profile

질문하기 스크립트

스크립트오류

2021.02.10 조회 수 114 추천 수 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/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