JavaScript

마크 스크립트구문 질문

le

leenamyoon
답변 완료
30 XP

on rightclick on Block of Emerald with pixelmon latiasite:
if location of event-block is location(5673.5, 249.5, -1682.5):
execute console command "clear %player% pixelmon latiasite"
execute console command "pokespawn Latias 5673 250 -1682"
message "&e[포스쿨서버]&e누군가 &a라티아스&f를 &e소환&f했습니다."
if player's tool is not pixelmon latiasite:
send "이거아님" to player
이란 구문을 짰습니다. execute console command "clear %player% 플레이어가 든 아이템" 이 구문에서 플레이어가 든 아이템을 어떻게감지해야할까요? 그리고 if player's tool is not pixelmon latiasite:
send "이거아님" to player 이 구문에서는 다른 도구를 들어도 이 구문이 실행되지 않습니다.


불러오는 중...