help with checking regions

  • 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 community!

    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.

doitcmf

New Member
Mar 12, 2017
5
0
0
I need it so when a player right clicks a chest to open it and is in the region "dropzone" it will do other actions such as send "&aHello"

This is what I have:

on right click:
event-block is chest:
enitity is in region dropzone
send "&aThis"

I have tried tons of different things. Please help.
 
I need it so when a player right clicks a chest to open it and is in the region "dropzone" it will do other actions such as send "&aHello"

This is what I have:

on right click:
event-block is chest:
enitity is in region dropzone
send "&aThis"

I have tried tons of different things. Please help.

code_language.skript:
on right click:
 event-block is chest:
  set {_regions::*} to regions at event-block
  loop {_regions::*}:
   if "%loop-value%" = "dropzone in world world"
    message "Hello"
    stop
 
  • Like
Reactions: doitcmf
code_language.skript:
on right click:
 event-block is chest:
  set {_regions::*} to regions at event-block
  loop {_regions::*}:
   if "%loop-value%" = "dropzone in world world"
    message "Hello"
    stop
Is there a way to detect if the chest that was opened if it was renamed to something like &a&lSimple Drop. And then make it so it summons a chest named &a&lSimpleDrop
 
Status
Not open for further replies.