Hello,
First of all, I'am using MC 1.11.2 and last stable skript version.
So, the problem is:
I tried a lot of things but nothing work.
I just want to detect if the targeted block is an iron door and send a message to know if this is or not.
First of all, I'am using MC 1.11.2 and last stable skript version.
Code:
if arg 1 is "hack":
if arg 2 is "door":
if targeted block is bottom close iron door:
send "ok"
else:
send "&cHum, no iron door"
So, the problem is:
Code:
[12:22:17 ERROR]: Can't compare a block with 'bottom close iron door' (WatchDogs.sk, line 91: if targeted block is bottom close iron door:')
[12:22:17 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (WatchDogs.sk, line 93: else:')
[12:22:17 INFO]: [Skript] Encountered 2 errors while reloading WatchDogs.sk!
I tried a lot of things but nothing work.
I just want to detect if the targeted block is an iron door and send a message to know if this is or not.