View difference between Paste ID: hNbBGpHG and zhUQBjJi
SHOW: | | - or go back to the newest paste.
1
local c = peripheral.find "nc_geiger_counter"
2
local m = peripheral.wrap "top"
3
4
while true do
5
    local lvl = c.getChunkRadiationLevel()
6
    print(lvl)
7-
    m.transmit(3054, 3054, {"rads/base", "radiation level in main base", "set", lvl})
7+
    m.transmit(3054, 3054, {"rads/" .. os.getComputerLabel(), "radiation level", "set", lvl})
8
    sleep(1)
9
end