Posted 31 March 2014 - 09:07 PM
I've been using the following program successfully for months, until now it's given me some sort of issue. I have the program named startup and here is the program:
local m=peripheral.wrap("top")
local sizeX, sizeY=m.getSize()
function cText(msg, x)
sText=string.len(msg)
size=sizeX/2-sText/2
m.setCursorPos(size, x)
m.write(msg)
end
function text(msg, y)
m.setCursorPos(1, y)
m.write(msg)
end
m.setTextScale(0.9)
sizeX, sizeY=m.getSize()
m.setTextColor(colors.lime)
cText(" How To Become A Member", 2)
m.setTextColor(colors.yellow)
text("1) Register on www.sombrerocraft.com", 5)
text("2) Add your MC character", 7)
text(" (Must be in vannilla MC 1.7.2)", 8)
text("3) Click on 'Join Website' where you logged in", 10)
m.setTextColor(colors.lime)
cText(" Member Benefits", 13)
m.setTextColor(colors.yellow)
text(" - Set two homes", 15)
text(" - Buy from shops", 17)
text(" - Set up to 5 Protection Stones", 19)
text(" - Unique in-game, website and TeamSpeak Member Tags", 21)
text(" - Qualify to level up to Veteran", 23)
text(" - Free surprise Member reward", 25)
m.setTextColor(colors.lime)
cText(" Still not a Member?", 28)
m.setTextColor(colors.yellow)
text(" Relogging won't help. You will receive Member rank", 32)
text(" immediately after successfully completing each step", 34)