bios:338: [string "mdm"]:362: 'end' expected (to close 'if' at line 360)
But I already have an end to close the if! Here's my statement:
while true do
if menucont == "host" then
break
goroutine.kill("Button2")
goroutine.kill("Button3")
host()
elseif menucont == "connect" then
break
goroutine.kill("Button1")
goroutine.kill("Button3")
connect()
elseif menucont == "quit" then
break
goroutine.kill("Button1")
goroutine.kill("Button2")
term.clear()
term.setCursorPos(1, 1)
end
sleep(0.1)
end











