개인 자료란 (JE)

  서버 커뮤니티

Profile 충무김밥 대표칭호 없음

kimppyong 762ec62a5ede411caf16d450577352c1

Profile

질문하기 스크립트

스크립트 give 명령어 한꺼번에 아이템 여러개 지급 안되나요?

2021.08.02 조회 수 1865 추천 수 0
이해도 1.17 
게임버전 (JE) 페이퍼 
스크립트 버전 입문자(아무것도 몰라요) 
스크립트 애드온 2.6-beta2 

variables:

    {기본템.%player%}=false


command /기본템 13:

    trigger:

        if {기본템.%player%} is false:

            give player arg 1 of netherite pickaxe

            give player arg 1 of netherite axe

            give player arg 1 of netherite sword

            give player arg 1 of netherite shovel

            give player arg 1 of netherite hoe

            give player arg 1 of netherite helmet

            give player arg 1 of netherite chestplate

            give player arg 1 of netherite leggings

            give player arg 1 of netherite boots

            give player arg 1 of shield

            give player arg 1 of bow

            give player arg 64 of arrow

            give player arg 1 of fishing rod

            set {기본템.%player%} to true

        else:

            message "또 받게?"

        


저렇게 했는데 뭔가 잘못된 것 같긴 하지만 뭐가 잘못되었는지 모르겠어요

다른 거 다 지우고 곡괭이만 지급되게 했더니 문제는 없고요

저런 식으로 했더니 "This command doesn't have any arguments"라고 뜹니다

9개의 댓글

YangEun
2021.08.02

기브 스크립트는 안 만져봤지만

("This command doesn't have any arguments"라고 뜹니다) 이 오류는 "명령에 인수가 없다" 라고 뜬거에요

충무김밥
2021.08.02
@YangEun

해결하는 건 어려울까요ㅠㅠ

qsef1256
2021.08.02

give (아이템) to player

명령어 기초랑 구문 보는법을 다시 보시는게 좋을 것 같습니다.

충무김밥
2021.08.02
@qsef1256

그러면 아이템 개수는 어떻게 설정하나요?

[Skript] Can't understand this condition/effect: give of netherite shovel to player (PlusCommand.sk, line 10: give of netherite shovel to player')

[20:52:42 ERROR]: [Skript] Can't understand this condition/effect: give etherite helmet to player (PlusCommand.sk, line 12: give etherite helmet to player')


(이번엔 또 이런 오류가...)

qsef1256
2021.09.02
@충무김밥

한마포를 잘 안봐서 늦었긴 하지만

give of netherite shovel to player 는 give 옆에 뜬끔없이 of가 붙어있어서 그런 것 같고요,

give etherite helmet to player 는 netherite가 오타가 나서 그러신 것 같습니다

 

컴퓨터는 구문을 정확하게 써주셔야 합니다. 아니면 보내주신 오류와 같이 Can't understand 어쩌구를 뱉습니다.

스크립터브혼
2021.08.02
variables:
    {기본템.%player%}=false


command /기본템 13:
    trigger:
        if {기본템.%player%} is false:
            add netherite pickaxe to {_items::*}
            add netherite axe to {_items::*}
            add netherite sword to {_items::*}
            add netherite shovel to {_items::*}
            add netherite hoe to {_items::*}
            add netherite helmet to {_items::*}
            add netherite chestplate to {_items::*}
            add netherite leggings to {_items::*}
            add netherite boots to {_items::*}
            add shield to {_items::*}
            add bow to {_items::*}
            add 64 of arrow to {_items::*}
            add fishing rod to {_items::*}
            give {_items::*} to player
            set {기본템.%player%} to true
        else:
            message "또 받게?"
충무김밥
2021.08.02
@스크립터브혼

감사합니다ㅏㅏㅏㅏㅏ

이렇게 친절하신 분 처음 봤어요ㅠㅠㅠㅠ

충무김밥
2021.08.02
@스크립터브혼

여기서 인챈트 하려면 뒤에다가 of 붙이고 쓰면 되나요?

스크립터브혼
2021.08.03
@충무김밥

[Item Enchantments] 익스프레션으로 인첸트를 추가 해도 되고

> add knockback  to enchantments of event-item


[Enchant/Disenchant] 이펙트로도 가능하고..

> enchant the player's tool with sharpness 5 


%item type% of %enchant% 패턴으로도 됩니다.

> give stone of knockback to player

뉴스 및 창작물
/files/thumbnails/384/778/003/262x150.crop.jpg?20240507003327

업데이트

마인크래프트 자바 에디션 스냅샷 24w18a

학교가기싫다

2024-05-06

0

/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1

/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

1