This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
code_noob's profile picture

noobish coding help

Started by code_noob, 05 May 2013 - 06:23 AM
code_noob #1
Posted 05 May 2013 - 08:23 AM
Title: noobish coding help
when coding anything with a period (.) for example turtle.attack it will give me an error saying that =was expected, but when I use the = instead of a period, it doesn't work, yet doesn't give me an error, as someone new to coding, is there something that I'm doing wrong?


fixed, I was doing turtle.attack I now know I need to use turtle.attack()
Edited on 05 May 2013 - 12:38 PM
Lyqyd #2
Posted 05 May 2013 - 12:22 PM
Split into new topic.

Please post the code you're having trouble with.
SadKingBilly #3
Posted 05 May 2013 - 12:53 PM
I bet my life that you forgot the parenthesis in your function calls. It's "turtle.attack()", not "turtle.attack".