개인 자료란 (JE)

  서버 커뮤니티

Profile 초코초콜YT 대표칭호 없음
Profile

질문하기 스크립트

마인크래프트 이거 왜 안되죠? 진짜로 모르겠어요

2022.01.19 조회 수 69 추천 수 0
게임버전 (JE) 1.17.1 
게임버전 (BE) 관련없음 
스크립트 버전 2.6 

command /레벨초기화:

    trigger:

        if player is op:

            set {레벨::%uuid of player%} to 1

            set {경험치::%uuid of player%} to 0

            set {최대경험치::%uuid of player%} to 30

            set {100레벨::%uuid of player%} to true

            set {150레벨::%uuid of player%} to true

            set {200레벨::%uuid of player%} to true

            set {200레벨::%uuid of player%} to true

            set {200레벨::%uuid of player%} to true

            message "&e레벨, 겸험치, 최대경험치를 초기화 하였습니니다."


every 1 tick:

    loop all players:

        if {경험치::%uuid of loop-player%} >= {최대경험치::%uuid of loop-player%}:

            set {경험치::%uuid of loop-player%} to ({경험치::%uuid of loop-player%} - {최대경험치::%uuid of loop-player%})

            set {최대경험치::%uuid of loop-player%} to ({최대경험치::%uuid of loop-player%} * 1.04)

            set {최대경험치::%uuid of loop-player%} to round({최대경험치::%uuid of loop-player%})

            add 1 to {레벨::%uuid of loop-player%}

            message " %{레벨}% &e%{레벨::%uuid of loop-player%}%&e레벨을 달성하였습니다" to loop-player

            

every 1 tick:

    loop all players:

        if {레벨::%uuid of loop-player%} >= 100:

            if {100레벨::%uuid of loop-player%} is true:

                broadcast "&e==============================%nl% %nl%&e(&a축&e) &6%loop-player%&6님이 100레벨을 달성하였습니다. &e(&a축&e)%nl% %nl%&e=============================="

                set {100레벨::%uuid of loop-player%} to false

        if {레벨::%uuid of loop-player%} >= 150:

            if {150레벨::%uuid of loop-player%} is true:

                broadcast "&e==============================%nl% %nl%&e(&a축&e) &6%loop-player%&6님이 150레벨을 달성하였습니다. &e(&a축&e)%nl% %nl%&e=============================="

                set {150레벨::%uuid of loop-player%} to "false"

        if {레벨::%uuid of loop-player%} >= 200:

            if {200레벨::%uuid of loop-player%} is true:

                broadcast "&e==============================%nl% %nl%&e(&a축&e) &6%loop-player%&6님이 200레벨을 달성하였습니다. &e(&a축&e)%nl% %nl%&e=============================="

                set {200레벨::%uuid of loop-player%} to false

        if {레벨::%uuid of loop-player%} >= 250:

            if {250레벨::%uuid of loop-player%} is true:

                broadcast "&e==============================%nl% %nl%&e(&a축&e) &6%loop-player%&6님이 250레벨을 달성하였습니다. &e(&a축&e)%nl% %nl%&e=============================="

                set {250레벨::%uuid of loop-player%} to false

        if {레벨::%uuid of loop-player%} >= 300:

            if {300레벨::%uuid of loop-player%} is "true":

                broadcast "&e==============================%nl% %nl%&e(&a축&e) &6%loop-player%&6님이 300레벨을 달성하였습니다. &e(&a축&e)%nl% %nl%&e=============================="

                set {300레벨::%uuid of loop-player%} to false


command /레벨설정 [<integer>]:

    trigger:

        if player is op:

            set {레벨::%uuid of player%} to arg-1

            

command /경험치설정 [<integer>]:

    trigger:

        if player is op:

            set {경험치::%uuid of player%} to arg-1

            

command /경험치받기 [<integer>]:

    trigger:

        if player is op:

            add arg-1 to {경험치::%uuid of player%}

            

command /최대경험치설정 [<integer>]:

    trigger:

        if player is op:

            set {최대경험치::%uuid of player%} to arg-1


제가 만든 스크립트 인데, 200레벨 달성까지는 나오는데 250레벨 달성부터 안 나와요ㅠㅠㅠ 알려 주세요ㅠㅠㅠ




1개의 댓글

qsef1256
2022.01.27

150 레벨 설정 하는 구문에 "false" 라고 문자열로 적으셨네요

false 랑 "false" 는 달라요. 첫번째는 yes no 이고 두번째는 말 그대로 문자열 false 에요.

뉴스 및 창작물
/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

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

레드스톤

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

노트블럭전문가

2024-04-11

1