testforblock command

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

SuperVK

Member
Aug 19, 2017
2
0
0
I want to check if a redstone lamp is lit, and I wanted to do it with ```command testforblock X Y Z lit_redstone_lamp``` but how do I check if it succesfully found a block, like I would do with a comperator behind a command but in skript?
 
code_language.skript:
{_block} is an active redstone lamp #being {_block} the block you want to check.
block at {_location} is an active redstone lamp #being {_location} the location of the block you want to check.

This goes in the Requests section, btw.
 
thank you, sorry for the wrong section, I didn't really know how the forums worked and if this was asking for help or script request
 
Status
Not open for further replies.