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

Help Whit Program, Rednet And Ccsensors

Started by niels2398, 01 November 2013 - 05:13 AM
niels2398 #1
Posted 01 November 2013 - 06:13 AM
so I recently made a program http://pastebin.com/vz85sekM
and i get somme errors bud i don't understand why
its split for 3 computers sender,repeater and receiver
I already get errors in first part
Lyqyd #2
Posted 01 November 2013 - 01:01 PM
Split into new topic.

What are the errors you're getting?
Zudo #3
Posted 01 November 2013 - 01:14 PM

 checkForTargets
 getPlayerName
 sendPlayerName

You need to put the brackets at the end…



 checkForTargets()
 getPlayerName()
 sendPlayerName()
PixelToast #4
Posted 01 November 2013 - 01:59 PM
you are missing ends and parentheses on your functions

function func()
  --stuff
end
also when you call the functions

func()
LBPHacker #5
Posted 01 November 2013 - 02:36 PM
-snip-
And the function delcarations are all messed up. You should maybe consider using the end keyword sometimes. Read the PIL; I don't think it's our job to teach you the basics of Lua.