Hi, At the moment I have a simple function that toggles levers. How would I use an if statement to check if the lever is already on so I can return a different message? Don't worry. I found out I can just use the isPowered() event on the same block. EDIT by Moderator: merged posts, please use the edit button instead of double posting.