Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: local term = require("term") local text = require("text") local side = require("sides") local component = require("component") local redstone = component.redstone local password = "blank" term.write("Password: ") local input = term.read() input = text.trim(input) if input == password then redstone.setOutput(side.bottom, 0) term.write("Welcome King") else redstone.setOutput(side.bottom, 15) term.write("Invalid Password") e Source: http://pastebin.com/raw.php?i=2LSrJ6GL
↧