1. 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!


    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Checking chest around sign

Discussion in 'Skript' started by KubaTM, Jan 12, 2020.

Thread Status:
Not open for further replies.
  1. KubaTM

    KubaTM Member

    Jan 12, 2020
    Likes Received:
    Hello, i am doing skript that is doing something if sign is placed on chest
    Code (Text):
    1. on sign change:
    2.     if blocks in radius 1 of event-block contains Chest:
    3.         if line 1 is "[hchest]":
    4.             set line 1 to "&9[hchest]"
    5.             stop
    6.     else:
    7.         if line 1 is "[hchest]":
    8.             set line 1 to "&4[hchest]"
    9.             set line 2 to "Block where is"
    10.             set line 3 to "placed sign"
    11.             set line 4 to "is not a &cchest"
    12.             send "&4 == Sign is not correctly set! =="
    13.             stop
    And why everytime it thinks sign is not on the chest?

    Server version: 1.12.2
    --- Double Post Merged, Jan 12, 2020, Original Post Date: Jan 12, 2020 ---
    (my primary language is not english so i am sorry if i am talking wrong)
Thread Status:
Not open for further replies.