개인 자료란 (JE)

  서버 커뮤니티

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

질문하기 스크립트

스코어보드 스크립트 질문해봅니다

2021.12.12 조회 수 197 추천 수 0
이해도 입문자(아무것도 몰라요) 
게임버전 (JE) 1.18, 1.18.1 
게임버전 (BE) 관련없음 
스크립트 버전 2.5.1 
스크립트 애드온 모르겠어요 

every 1 second:

    loop all players:

        if {스코어보드.%loop-player%} is true:

            wipe loop-player's sidebar

            set name of sidebar of loop-player to "&e%loop-player%님의 &a정보"

            set score "닉네임 : &7[ &c%loop-player% &7]" in sidebar of loop-player to 0

            set score "&2돈 : %{%loop-player' uuid%.돈}%" in sidebar of loop-player to -1

        

command /score [<string>]:

    trigger:

        if arg-1 is "on":

            set {스코어보드.%player%} to true

            message "&a스코어보드가 켜짐"

        if arg-1 is "off":

            set {스코어보드.%player%} to false

            message "&c스코어보드가 꺼짐"

            wipe player's sidebar

이 안되는데 이유를 모르겠어요




5개의 댓글

HAN1110
2021.12.12

d 부터 ds 로 버꿔주사죠?

초코초콜YT
2021.12.14
@HAN1110

무슨 D요?

HAN1110
2021.12.14
@초코초콜YT

every 1 second 를 every 1 seconds 로요.

초코초콜YT
2021.12.14
@HAN1110

했는데 안되요

 

초코초콜YT
2021.12.14
@초코초콜YT

에러

Empty configuration section! You might want to indent one ore more of the subsequent

lines to make them belong to this section or remove the colon at the end of the line

if you don's want this line to start a section. (정보.sk, line 3:if

{스코어보드.%loop-player%} is true:')

Can't understand this condition/effect: wipe loop-player's sidebar (정보.sk, line 4:

wipe loop-player's sidebar')

There's no loop that matches 'loop'player to "&e%loop-player%님의 정보'" (정보.sk,

line 5: set name of sidebar of loop-player to "&e%loop-player to 0')

There's no loop that matches 'loop-player to 0')

There's no loop that matches 'loop-player to ' (정보.sk, line 7: set score "&2돈 :

%{%loop-player' uuid%.돈}%" in sidebar of loop-player to -1")

Can't understand this condition/effect: wipe player's sidebar (정보.sk, line 19 wipe

player's sidebar')

라고 뜨네요

(참고: 하나하나 다 쓰느라 힘듬)