Arkadaşlar elimde söyle bir kod var:
Örneğin oyuncu bir tabelaya bakıyorsa ve bakarken bu komudu kullanıyorsa market oluşturuyor fakat "%player's tool's ID%" kısmında elindeki itemin ID'si 17:1 ise onu sadece tabelaya 17 olarak yazıyor.Bunu nasıl ayarlayabilirim?
Kod:
command /marketalma [<text>] [<text>]:
permission: market.alma
trigger:
if target block is sign:
set line 1 of target block to "Market"
set line 2 of target block to "%arg 2%"
set line 3 of target block to "B %arg 1%"
set line 4 of target block to "%player's tool's ID%"