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

Will this API work?

Started by ComputerCraftFan11, 06 April 2012 - 05:55 PM
ComputerCraftFan11 #1
Posted 06 April 2012 - 07:55 PM
I'm om my iPad so I cant test this code, but will this work?

function newPass(password)
   input = read("*")
   if input == password then
       return true
    else
        return false
    end
end
Hawk777 #2
Posted 06 April 2012 - 07:58 PM
Yes.