Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Stationary computer: (Standard/Advanced) With Peripheral: "Cc Chunk Loader" attached to any side
- -- Made by StiGMaT - https://discord.gg/MqMF4ucy9R"
- local p = peripheral.find("CcChunkLoader")
- if not p then error("No chunkloader peripheral found") end
- -- Prompt for password
- write("Enter password: ")
- local password = read("*") -- use read() for visible input, read("*") hides it while typing
- -- Try enabling with user-provided password
- local ok, msg = p.enableChunkLoader(password)
- print("enable:", ok, msg)
- -- Show status
- local status = p.getStatus and p.getStatus() or {}
- print("status:", textutils.serialize(status))
- -- Later, you can disable with:
- -- p.disableChunkLoader()
Advertisement
Add Comment
Please, Sign In to add comment