if pass == (stal) then
We are not sure what to put after this. it's probably really simple but we dont know and would really appreciate help.
Thanks
Posted 12 May 2013 - 11:53 AM
Posted 12 May 2013 - 04:03 PM
Posted 12 May 2013 - 04:28 PM
StalPass = "123"
write("Password:")
Pass = read("*")
if Pass == (StalPass) then
shell.run("dj", "play", "<name of your diskdrive where stal is in>")
end
Posted 12 May 2013 - 08:59 PM
local song_list = {
["stal"] = peripheral.wrap("drive_15");
["cat"] = peripheral.wrap("drive_14");
}
local input = read()
if song_list[input] then
return song_list[input].playAudio()
else
print("That song does not exist!")
end
0 members, 1 guests, 0 anonymous users