Quote
window:179: bad argument: string expected, got nil
Press any key to continue
Press any key to continue
PROGRAM: http://pastebin.com/BNEDzDMg
CC Version: 1.79
Please, don't tell me it's a stupid project, I already know.
Thank you
Posted 15 August 2016 - 09:49 PM
Quote
Posted 16 August 2016 - 01:31 AM
local desktopbar = {
" ",
colors.black,
colors.white
}
Or you could do something like this:local desktopbar = {
" ",
"black",
"white"
}
-- So use the code you are already using
-- But when you set the colors, do this
term.setBackgroundColor( colors[ name[2] ] )
term.setTextColor( colors[ name[3] ] )
Posted 16 August 2016 - 10:57 AM
Incinirate, on 16 August 2016 - 01:31 AM, said:
local desktopbar = {
" ",
colors.black,
colors.white
}
Or you could do something like this:local desktopbar = {
" ",
"black",
"white"
}
-- So use the code you are already using
-- But when you set the colors, do this
term.setBackgroundColor( colors[ name[2] ] )
term.setTextColor( colors[ name[3] ] )
0 members, 2 guests, 0 anonymous users