[string "shell"]:15: unexpected symbolwhen editing the file. Here is the code from lines 1-21. I only edited lines 15-17, but the rest is included just in case.
local parentShell = shell
local bExit = false
local sDir = (parentShell and parentShell.dir()) or ""
local sPath = (parentShell and parentShell.path()) or ".:/rom/programs"
local tAliases = (parentShell and parentShell.aliases()) or {}
local tProgramStack = {}
local shell = {}
local tEnv = {
["shell"] = shell,
}
-- Colours
local promptColour, textColour, bgColour
if term.isColour() then
promptColour = colours.2^math.random(0,15) --Edited lines. Also lines with error. XD
textColour = colours.2^math.random(0,15) --Edited lines. Also lines with error. XD
bgColour = colours.2^math.random(0,15) --Edited lines. Also lines with error. XD
else
promptColour = colours.white
textColour = colours.white
bgColour = colours.black
end
Please help! Btw, can an admin change title to: [Lua] Error when editing shell file












