I hereby claim:
- I am TheTrueShell on github.
- I am raimiastudios (https://keybase.io/raimiastudios) on keybase.
- I have a public key whose fingerprint is FCEF EF5E 76C3 5E95 C965 058A 2C98 61EA 2535 409C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
-- Central Bank Server Script for Computercraft | |
-- Table to store account information | |
local accounts = {} | |
-- Load existing accounts from disk (if any) | |
local function loadAccounts() | |
if fs.exists("accounts") then | |
local file = fs.open("accounts", "r") | |
accounts = textutils.unserialize(file.readAll()) |
-- ATM Script for Computercraft | |
-- Open modem | |
local modem = peripheral.find("modem") | |
if not modem then | |
print("No modem attached") | |
return | |
end | |
modem.open(2) -- Open on channel 2, for example |