Posted 10 April 2016 - 01:34 AM
So i am trying to make an OS and i keep getting "window:94: Expected string, string, string" the code is
local function main()
drawScreen(bg_col, bg)
while brunning do
e = {os.pullEvent()}
if slc == 0 then
drawScreen(bg_col, bg)
if e[1] == "mouse_click" then
if e[2] == 1 then
if e[3] >= 1 and e[3] <= 7 and e[4] == 1 then
slc = 1
drawMenu()
end
end
end
elseif slc == 1 then
drawMenu()
menuClick()
end
end
end