Posted 22 April 2012 - 01:22 AM
I made this derpy 4262 line minebook code, but on the minebook wall it glitches.
http://pastebin.com/TseDVUBU
On line 4235 it says:
When it prints username.. "-" input, the thing prints correctly, but it prints to things.
Say i typed "Hello", this is what the screen will look like:
(And yes, i made it 4262 lines on purpose, here is it compacted:
http://pastebin.com/TseDVUBU
On line 4235 it says:
function wall()
print("USER WALL!!!")
print("")
print("Notch - WELCOMEA TH MEOMABOOOK!!!")
local x,y = term.getSize()
while true do
term.setCursorPos(1, y)
input = read()
term.setCursorPos(1, pos)
write(username.. " - " ..input)
pos = pos+1
end
end
When it prints username.. "-" input, the thing prints correctly, but it prints to things.
Say i typed "Hello", this is what the screen will look like:
------
Minebook
------
xXm0dzXx - Hello
Hello
It prints hello twice for some reason(And yes, i made it 4262 lines on purpose, here is it compacted:
local messages = 3
print("MINEBOOKn---")
write("Username: ")
input = read()
term.clear()
term.setCursorPos(1,1)
function wall()
print("MINEBOOKn---")
write("Status: ")
status = read()
term.setCursorPos(1, messages)
write(input.. "-" ..status)
messages = messages+1
term.setCursorPos(1,2)
end
wall()
)