Search results

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
  1. E

    Help with some ComputerCraft coding :\

    When I add a \n to this message= message.."This tank holds: "..value.capacity .. " MB: \n It has "..value.contents.amount .. " MB stored of ".. value.contents.name.."\n" all it does it do a small space gap, no new line
  2. E

    Help with some ComputerCraft coding :\

    Cool so I finished the programs and they both work. Computer connected to Monitor local mon = peripheral.wrap("right") local modem = peripheral.wrap("left") local event,side,senderChannel,replyChannel,message,distance modem.open(1) while true do...
  3. E

    Help with some ComputerCraft coding :\

    Awesome! I'll try this out when I have time and report back to you :] also, I do quite understand while loops, if else statements, etc, as I have an engeering class which is currently teaching us on coding with RobotC. Although I do not like how that program is set up. I also don't know whether...
  4. E

    Help with some ComputerCraft coding :\

    I know using wired cables would be so much easier, but I want to learn more so that I know what to do in the future
  5. E

    Help with some ComputerCraft coding :\

    Awesome!! Works like a charm. If you wouldn't mind, I want to try and learn how to send/receive message/programs using rednet. I've learned quite a bit now because of you. So, I would have a computer connected to the spawner, then have that computer transfer the data wirelessly to the main...
  6. E

    Help with some ComputerCraft coding :\

    Ok, well, now I seem to be getting closer to actually getting it, but there is still another problem :\ tankTable=spawner.getTankInfo() print(tankTable) for key, value in pairs(tankTable) do print("This tank holds: "..value.contents.amount .. " MB stored of "..value.contents.name) end This...
  7. E

    Help with some ComputerCraft coding :\

    Well, it still doesn't seem to work :\
  8. E

    Help with some ComputerCraft coding :\

    Wow, thanks! But you got me even more confused now :p I'm confused as to how your coding will receive the data it needs. I tried testing it.. x = spawner.getTankInfo() print(x) local function printTanks(tankTable) for key, value in pairs(tankTable) do print("This tank holds...
  9. E

    Help with some ComputerCraft coding :\

    hmmm, so it seems you can only do that with a monitor? Because it seems to work with it.
  10. E

    Help with some ComputerCraft coding :\

    Hey, everyone! I just got into coding with ComputerCraft and I need some help with printing. It's very basic, but I can't seem to work it out. Here is part of the coding that I'm not getting right ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spawner=peripheral.wrap("top") x = spawner.getTankInfo() print(x)...