Checking chest around sign

  • 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.

KubaTM

Member
Jan 12, 2020
2
0
0
18
Hello, i am doing skript that is doing something if sign is placed on chest
Code:
Code:
on sign change:
    if blocks in radius 1 of event-block contains Chest:
        if line 1 is "[hchest]":
            set line 1 to "&9[hchest]"
            stop
    else:
        if line 1 is "[hchest]":
            set line 1 to "&4[hchest]"
            set line 2 to "Block where is"
            set line 3 to "placed sign"
            set line 4 to "is not a &cchest"
            send "&4 == Sign is not correctly set! =="
            stop
And why everytime it thinks sign is not on the chest?

Server version: 1.12.2
[doublepost=1578853622,1578853498][/doublepost](my primary language is not english so i am sorry if i am talking wrong)
 
Status
Not open for further replies.