Advertisement
Marlingaming

Local ATM system(WIP)

Sep 1st, 2021
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. --the idea of this one is to act as a local atm, where you can only use your account on this machine, and can only withdraw and deposit money into this machine
  2. --settings
  3. settings_adminid = "ADMIN"
  4. settings_allowNewAccounts = true
  5. settings_bankName = "Local Bank"
  6. settings_cardEncryptionKey = 3.5
  7. settings_cardside = "SIDE"
  8. settings_
  9. --varibles
  10. storedcash = 100
  11. acceptedcurrency_Single = "Credit"
  12. acceptcurrency_Multiple = "Credits"
  13. --main program
  14. start()
  15. function start()
  16. print("system booting")
  17. print("checking settings")
  18. print("allow new accounts = ",settings_allowNewAccounts)
  19. print("allow new accounts = ",settings_allowNewAccounts)
  20. print("system online, starting main program")
  21. print("this ATM is the property of ",settings_bankName)
  22.  
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement