This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
afl1239's profile picture

Getting rednet to send input

Started by afl1239, 26 January 2013 - 10:12 PM
afl1239 #1
Posted 26 January 2013 - 11:12 PM
Ok so im not the best at computercraft and I was just making a sort of login/ account system involving a master computer and a computer that will hold all the accounts/ password. So what im trying to do is if someone were to use the computer it would ask the user to make an account and i use

input = read()
to read the input the user types so say if they typed (john111) as a username i want rednet to read the input somehow and send what was typed, any help? Im sorry if I wasnt as informative
Luanub #2
Posted 26 January 2013 - 11:38 PM
Just send input

rednet.send(ID, input) -- change ID to the master computers ID
afl1239 #3
Posted 26 January 2013 - 11:42 PM
Oh wow thanks for the quick response! It works great, thanks.