While block is not working

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Nydigov

Member
Feb 9, 2017
5
0
0
31
Skript Version: Skript 2.2 (dev20c)
Skript Author: Bensku
Minecraft Version: 1.11
---
Full Code:

on place of iron block:
wait 1 tick
message "Iron gen created!"

while block is a gold block:
wait a second
if block is a iron block:
drop 1 iron ingot at block above


Errors on Reload:

Code (Skript):
  1. Can't understand this condition/effect 'while block is a gold block'
Console Errors: (if applicable)

Code (Skript):
  1. None
Other Useful Info:

Addons using (including versions):
https://gyazo.com/4cab8fb83fd600c2b091dbf999b5a23e

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
 
Last edited:
Good code formatting. Use the code tags, it's most likely an indenting issue.

[.code=Skript] (without the period there)
# Don't do it!
on script load:
[SPACE][SPACE]shutdown server
[/code]

Becomes

code_language.skript:
# Don't do it!
on script load:
  shutdown server
 
Status
Not open for further replies.