Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- main.lua
- -- Importiere die API
- local colorAPI = require("colorAPI")
- -- Initialisiere den Monitor
- local monitor = peripheral.wrap("top") -- Passe diesen Namen an den Namen deines Monitors an
- monitor.setTextScale(0.5)
- monitor.clear()
- monitor.setCursorPos(1, 1)
- -- Schreibe farbigen Text und Hintergrundfarben auf den Monitor
- colorAPI.msg("Hello &aWorld &&1from &cComputerCraft &&ewith &&achanging &&fbackgrounds", monitor)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement