개인 자료란 (JE)

  서버 커뮤니티

Profile 거품 대표칭호 없음
Profile

질문하기 스크립트

스크립트 구문 질문

2023.03.18 조회 수 48 추천 수 0
이해도 초보자 
게임버전 (JE) 1.19.2, 1.19.3 
게임버전 (BE) 관련없음 
스크립트 버전 2.6.4 

이 구문에서 if fishing state is CAUGHT_FISH 구문이 이해를 할수 없다 뜨는데 왜 이런가요?


options:

    system: &b[&f System &b]

    

command /낚시세팅:

    trigger:

        open chest with 6 rows named "&f[ &a낚시 세팅 &f]" to player 

        loop 54 times:

            set slot (loop-number)-1 of current inventory of player to {item::%loop-number%}

        stop

on inventory close:

    if inventory name of current inventory of player is "&f[ &a낚시 세팅 &f]":

        delete {item::*}

        loop 54 times:

            if slot (loop-number)-1 of current inventory of player is not empty:

                add name of slot (loop-number)-1 of current inventory of player to {item::*}

        message "{@system} &f아이템 [내용물]이 설정되었습니다."

        stop

        

on fishing:

    if fishing state is CAUGHT_FISH:

        delete caught fishing

        set {_random} to random integer between 0.1 and size of {item::}

        loop {item::}:

            if loop-index is "%{_random}%":

                drop loop-vaule

                send title "&a%loop-vaule를 낚으셨습니다" to player for 2 seconds




Warning
댓글이 없습니다.

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

뉴스 및 창작물
/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

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

업데이트

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