Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Hakz_Studioz

Members
  • Content Count

    2
  • Joined

  • Last visited

About Hakz_Studioz

  • Rank
    Junior Member
  1. Can you please help tell me what I did wrong in my if then loop? Thank you, and have a good day Here’s the code (by the way,I’m using a microcontroller): local rs = component.proxy(component.list(“redstone”)()) Local wr = component.proxy(component.list(“modem”)()) wr.open(2110) local x,w,a,d,f,sent = computer.pullSignal() rs.setOutput(3,100) #output to front while true do if sent = “enon” then rs.setOutput(3,100) elseif sent = “enoff” then rs.setOutput(3,0) elseif computer.energy() < 150 then rs.setOutput(3,0) end end the error was “failed loading bios: bios:8: then expected near =“ where exactly? Again, thank you.
  2. Hakz_Studioz

    Help

    I made a microcontroller program that works with computer craft, but it doesn’t work. Please help. The program is in pastebin.com/L2WBivB5 The error is: bad argument #1 (string expected, got nil). Please help! -Hakz Studioz
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.