Advertisement
Commandcracker

substation

Nov 7th, 2021
673
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local sweet = require("sweet")
  2. local app   = sweet.newApp()
  3.  
  4. app.newToggelButton(
  5.     2,2,5,5,"Toggle Input",
  6.     function ()
  7.         rs.setBundledOutput("left", colors.white)
  8.     end,
  9.     function ()
  10.         rs.setBundledOutput("left", 0)
  11.     end
  12. )
  13.  
  14. app.exec()
  15.  
Advertisement
RAW Paste Data Copied
Advertisement