diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-01 22:33:39 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-01 22:33:39 +0100 |
commit | 4eeb14050c39bfb27a388a6c0f46446d576163d5 (patch) | |
tree | a73caaa878803345eda46e8cedef3c579086d5e6 | |
parent | 38c83a655e5f013dfc1c680aff18ea3360d22367 (diff) |
launch echest
-rw-r--r-- | echest.lua | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -28,11 +28,10 @@ for x=0,15 do for y=0,15 do for z=0,15 do term.clearLine() local _,line = term.getCursorPos() term.setCursorPos(1,line) - io.write(("%d %d %d "):format(x,y,z)) + term.write(("%d %d %d "):format(x,y,z)) p.setFrequency(2^x, 2^y, 2^z) local name = p.getName() if name ~= nil then - print(name) + term.write(name.."\n") end - os.sleep(0.1) end end end |