Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --設定--
- --ユーザーID--
- id = "0001"
- --パスワード--
- pass = "1234"
- --管理パスワード--
- masterpass = "4321"
- --サーバーID--
- server = "3"
- --ユーザー名--
- username = "yutaponabe"
- --モデムの取り付け位置--
- modem = "bottom"
- --この世の価値--
- kati = "stone"
- -------------------------------------------------
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Welcam to MINHO Bank!!")
- print("Enter Users ID")
- okid = read()
- term.clear()
- term.setCursorPos(1,1)
- if okid == id then
- term.clear()
- term.setCursorPos(1,1)
- print("Enter Password")
- okpass = read()
- term.clear()
- term.setCursorPos(1,1)
- if okpass == pass then
- print("Welcam ", username)
- print("What will you do? Withdrawal or Transfer")
- orororor = read()
- term.clear()
- term.setCursorPos(1,1)
- if orororor == "transfer" then
- print("How many dollars?")
- dollars = read()
- term.clear()
- term.setCursorPos(1,1)
- print("Please wait")
- sleep(2)
- commands.clear(username, kati, dollars)
- print("Thank you for using")
- elseif orororor == "withdrawal" then
- print ("How many dollars?")
- dollars = read()
- term.clear()
- term.setCursorPos(1,1)
- print("Please wait")
- sleep(2)
- commands.give(username, kati, dollars)
- print("Thank you for using")
- sleep(2)
- end
- else
- print("ERROR_202")
- slepp(1000)
- end
- else
- print("ERROR_303")
- sleep(1000)
- end
- end
Add Comment
Please, Sign In to add comment