ruben654
Members-
Posts
7 -
Joined
-
Last visited
Everything posted by ruben654
-
You have 2 items which try to use the same itemids
-
It seems to be missing the file: mods/ComputerCraft/lua/bios.lua Did you remove that file?
-
Computercraft scripting help (Wireless modems)
ruben654 replied to zsakulkill's topic in Tekkit Classic Discussion
It's term.clear() if I remember correctly -
Computercraft scripting help (Wireless modems)
ruben654 replied to zsakulkill's topic in Tekkit Classic Discussion
You could always make a new program with a convenient name that does this: rednet.open("yoursidehere") rednet.broadcast("yourmessagehere") rednet.close("yoursidehere") if you want it send on redstone this will help: rednet.open("yoursidehere") while !(event=="char" and p1=="q") do event,p1=os.pullEvent() if event=="redstone" then if redstone.getInput("yoursidehere") then rednet.broadcast("onmessage") else rednet.broadcast("offmessage") end end end rednet.close("yoursidehere") and if you press Q in the bottom program, it'll terminate the program and turn off the modem -
Computercraft scripting help (Wireless modems)
ruben654 replied to zsakulkill's topic in Tekkit Classic Discussion
If I'm right this should work: rednet.open("left") while true do senderID, input = rednet.receive() if input == "zsakul" then redstone.output("back", true) end end rednet.receive() doesn't have a required timeout setting, if you don't set it it doesn't have a timeout And I suggest you put something in your code to turn the redstone off again like: rednet.open("left") while true do senderID, input = rednet.receive() if input == "zsakul" then redstone.setOutput("back", true) sleep(1) --wait one second redstone.setOutput("back", false) end end