Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.redirect(peripheral.wrap("top"))
- local w, h = term.getSize()
- os.loadAPI("button")
- local nID = 1
- button.new("Spawn", ((w-#"Spawn")/2)+1, h/2+1, #"Spawn"+2, h, colours.white, colours.red, colours.lime, function() rednet.send(nID, "toggle") end, .5)
- button.run()
Advertisement
Add Comment
Please, Sign In to add comment