Jump to content




Error in my code


  • You cannot reply to this topic
4 replies to this topic

#1 Tieran02

  • Members
  • 4 posts
  • LocationUK

Posted 26 June 2013 - 03:03 PM

Title: Error in my code

Question: ive been trying to fix my code for hours now and i dont know what is wrong with it i get this eroor bios:228: [string "Chop"]:2: '(' and this is my code here http://pastebin.com/MV1S8p2W pls help me

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 26 June 2013 - 04:55 PM

Split to new topic.

#3 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 June 2013 - 06:32 PM

You need brackets after the function names. Eg, make line 1:

function FindTree()

... and so on.

#4 M4sh3dP0t4t03

  • Members
  • 255 posts
  • LocationGermany

Posted 27 June 2013 - 05:57 AM

And you need to put "end" at line 18, 29 and at the end to close the while and if statements.

#5 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 27 June 2013 - 06:00 AM

http://pastebin.com/JV9g7FwR





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users