Advertisement
Plazter

togglelatch

Sep 15th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. while true do
  2. if test == true then
  3. test = false
  4. rs.setOutput("bottom", true)
  5. print("I am on!")
  6. elseif test == false then
  7. test = true
  8. print("I Am off!")
  9. rs.setOutput("bottom", false)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement