Jump to content




Bios:366: [string "Gui"]:143: '=' expected keeps

help command computer

7 replies to this topic

#1 The Ironist

  • Members
  • 4 posts

Posted 02 July 2015 - 01:55 AM

I keep on trying to fix this but I get the same error as in the topic please help and here is my code:


runTime = function()

while running do
event, button, x, y = os.pullEvent("mouse_click")

if _ms == 0 and button == 1 and x < 5 and y == 1 then
drawMenu1()
_ms = 1
elseif _ms == 1 and button == and y == 2 and x > 5 then
stop()
elseif _ms == 1 and button == 1 and x < 5 and y == 1 then
init()
elseif _ms == 0 and _rcm == 0 and button == 2 then
_rcm = 1
drawRightClickMenu(x ,y)

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 July 2015 - 02:02 AM

Please post the whole code. This code obviously isn't 143 lines long. You can post it on pastebin and provide a link here, to maximize convenience.

#3 The Ironist

  • Members
  • 4 posts

Posted 02 July 2015 - 02:54 AM

View PostLyqyd, on 02 July 2015 - 02:02 AM, said:

Please post the whole code. This code obviously isn't 143 lines long. You can post it on pastebin and provide a link here, to maximize convenience.

Here is the Link: http://pastebin.com/PmD4qCG9

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 July 2015 - 04:50 AM

Ahhh, the line right below the line you've marked has nothing to compare button against.

#5 The Ironist

  • Members
  • 4 posts

Posted 02 July 2015 - 05:05 AM

View PostLyqyd, on 02 July 2015 - 04:50 AM, said:

Ahhh, the line right below the line you've marked has nothing to compare button against.
Thanks! I did not see that because it kept saying line 143 so I focused on that line.

#6 The Ironist

  • Members
  • 4 posts

Posted 02 July 2015 - 06:55 PM

Ok so I compared button but it still gives me the same error.

#7 Rougeminner

  • Members
  • 151 posts

Posted 02 July 2015 - 07:51 PM

Ok let me take a look

Edited by Rougeminner, 02 July 2015 - 07:56 PM.


#8 Rougeminner

  • Members
  • 151 posts

Posted 02 July 2015 - 07:57 PM

Line 74 u have a space in between it should look like this term.setBacgroundColor() not term.setBackgrounf Color()





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users