Jump to content




First Rednet bios:338 bug



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

#1 Shadowsista

  • New Members
  • 2 posts

Posted 09 April 2013 - 07:21 AM

Hi! Sorry, I've only just started this and I can't seem to figure out what the problem is.

bios:338 [string "send1"]:10: '<name>' expected

This is the code I've written:

rednet.open("right")
local modem = peripheral.wrap("right")

modem.open(22)
modem.open(24)

local sendOnChannel = 22
local replyChannel = 24

modem.transmit(sendOnChannel. replyChannel. "message here")
print("[Message Sent,]"

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 09 April 2013 - 07:30 AM

Moved to Ask a Pro.

Use commas to separate arguments, not periods.

#3 Shadowsista

  • New Members
  • 2 posts

Posted 09 April 2013 - 07:52 AM

Thank you! ^_^ I knew it was something stupid I'd done... :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users