Posted 01 September 2014 - 06:07 PM
Hey all!
I'm trying to rednet.send a variable + string but don't know how this works. :P/>
Help please :rolleyes:/>
I'm trying to rednet.send a variable + string but don't know how this works. :P/>
shell.run("clear")
term.setTextColor(colors.orange)
print("BackOS 1.5")
print("")
term.setTextColor(colors.white)
print("Wie viel Brot soll ich backen?")
term.setTextColor(colors.blue)
print("[1 | 3 | 6]")
term.setTextColor(colors.white)
local anzahl = io.read()
--This area
rednet.send(13,anzahl)
--*over me*
term.setTextColor(colors.green)
print("Ihr Brot wird nun gebacken")
term.setTextColor(colors.white)
sleep(3)
shell.run("startup")
And I want to send "anzahl" + a custom text.
local anzahl = io.read()
rednet.send(13,anzahl,"hello")
Help please :rolleyes:/>