Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
command /testblock:
trigger:
if player's held item is dirt:
send "Yes its dirt"
i already tried thathe wants to check if its any block not a specific block. "if player's tool is a block" should work if you have skquery https://docs.skunity.com/syntax/search/is block
how about elaborating on your very descriptive "not work"i already tried that
how about elaborating on your very descriptive "not work"
command testing:
trigger:
if player's held item is block:
broadcast "ye"
command testing:
trigger:
if player's held item is not block:
broadcast "ye"
do you have any idea why this do not work on 1.12?, thankshm thats strange. you can do it with skript mirror though
code_language.skript:on click: if player's tool is not air: #air counts as a block set {_item} to player's tool if {_item}.getType().isBlock(): send "%player's tool% is a block."
version dev35b(does this also on dev27)it should. are there errors? what skript ver?
can't understand this condition: '{_o_o}.getType().isBlock()' (WE.sk, line 95: if {_o_o}.getType().isBlock():')
set {_o_o} to player's tool
if {_o_o}.getType().isBlock():
#...