Skript ile belirlediğimiz dünyadaki belirlediğimiz konumda olan bloğa vurunca(sağ veya sol tık) bir komutun çalıştırılmasını istiyorum.
JavaScript:options: use-permissions: false # Etkileşim Komutları command /setblockcommand [<text>]: permission: skript.command.setblockcommand trigger: if arg-1 is set: set {clickedBlockCommand} to arg-1 else: send "Kullanım: /setblockcommand <komut>" on left click: if block at player's target is stone: execute console command {clickedBlockCommand} on right click: if block at player's target is stone: execute console command {clickedBlockCommand}
benRsl

_thread
command /commandadder [<text>]:
trigger:
set {commander::%location of target block of player%} to arg 1
send "Eklendi!&b %{commander::%location of target block of player%}%"
command /delete:
trigger:
delete {commander::*}
right click:
if {commander::%location of target block of player%} is set:
execute event-player command {commander::%location of target block of player%}
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!