Posted 05 January 2014 - 01:42 AM
I'm trying to make a function in a program that will check if a turtle has a wireless modem. I thought this would be pretty simple but rednet.open is not acting the way I thought it would. This is what I have so far:
Help is appreciated!
Thanks! :D/>
if rednet.open("right") then
print("Rednet Open.")
else
print("No Modem.")
end
I thought this would work so that if the turtle was able to open a modem on its right side then it would be true so it would print rednet open. However, it prints no modem but still opens the modem. I've got no idea as to why this is happening. Help is appreciated!
Thanks! :D/>