개인 자료란 (JE)

  서버 커뮤니티

Profile 세찐찐 에메랄드 유저

sejinjin 6943192ee1b44a4ca430580bc286725a

Profile

질문하기 스크립트

스크립트 질문인데여..

2022.10.18 조회 수 122 추천 수 0
이해도 초보자 
게임버전 (JE) 1.16.5 
게임버전 (BE) 관련없음 
스크립트 버전 최신 
스크립트 애드온 다 깔려있음 

on rightclick:

    if entity's name is "[ &a신하&f ]":

        message "[ &a신하&f ] 오 당신이 그 유명한 용사 인가요?" to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &a나&f ] 당연하죠 그런데 누구세요" to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &a신하&f ] 아 저는 이 나라의 여왕인 알라제베스의 신하 입니다." to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &a나&f ] 아 그렇군요" to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &a신하&f ] 여왕께서 당신을 찾고 있습니다." to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &a신하&f ] 지금 여왕님께 가보세요." to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &a나&f ] 아 감사합니다." to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 2 seconds

        message "[ &a신하&f ] 아 그럼 저는 또 다른데를 가야해서 행운을 빌겠습니다." to player

        play sound "entity.villager.ambient" with volume 1 to the player

        wait 4 seconds

        message "[ &e퀘스트&f ] 여왕이 있는 성으로 가자" to player

       여기서 

[21:30:21 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (queen.sk, line 21: message "[ &a 신하&f ] 지금 여왕님께 가보세요." to player')

[21:30:21 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (queen.sk, line 24: message "[ &a 나&f ] 아 감사합니다." to player')

[21:30:21 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (queen.sk, line 27: message "[ &a 신하&f ] 아 그럼 저는 또 다른데를 가야해서 행운을 빌겠습니다." to player')

[21:30:22 INFO]: [Skript] Encountered 3 errors while reloading queen.sk!

> sk reload queen.sk

[21:30:30 INFO]: [Skript] Reloading queen.sk...

[21:30:30 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (queen.sk, line 21: message "[ &a 신하&f ] 지금 여왕님께 가보세요." to player')

[21:30:30 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (queen.sk, line 24: message "[ &a 나&f ] 아 감사합니다." to player')

[21:30:30 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (queen.sk, line 27: message "[ &a 신하&f ] 아 그럼 저는 또 다른데를 가야해서 행운을 빌겠습니다." to player')


이렇게 뜨면 어떻게 해결 해야하죠


4개의 댓글

qsef1256
2022.10.18

expected 4 tabs, but found 16 spaces 이거 번역 해보세요

세찐찐
2022.10.18
@qsef1256

어 어떻게 하는지 모르겠는데

세찐찐
2022.10.18
@qsef1256

아 해결 됬습니다

 

qsef1256
2022.10.18

스크립트는 파이썬 영향을 받아서 Tab이랑 Space를 같이 쓰면 오류 납니다. 무조건 둘 중 하나만 써야 합니다

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