Posted 22 December 2013 - 01:06 PM
im trying to make a password on/of Switch
code:
print "Please Input Password:"
password =read ("*")
if password == "MYPASSWORD" then
rs.setOutput ("back", True)
print "Switch Off!"
And then i run the program, and it says: bios:338: [string "On"]:6: 'end' expected (to close 'if' at line 3)
im a noob so i cant find the error… :(/>
code:
print "Please Input Password:"
password =read ("*")
if password == "MYPASSWORD" then
rs.setOutput ("back", True)
print "Switch Off!"
And then i run the program, and it says: bios:338: [string "On"]:6: 'end' expected (to close 'if' at line 3)
im a noob so i cant find the error… :(/>