I have been trying to make an atm system but uh the code gets the error:
bad argument #1 (string expected, got nil):
stack traceback:
[C]: in function 'error'
machine:1045: in function <machine:1042>
(...tail calls...)
/home/create:41 in main chunk
(...tail calls...)
[C]: in function 'xpcall'
machine:799: in global 'xpcall'
/lib/process.lua:63: in function </lib/process.lua:59>
here is the code:
local event = require("event")
local component = require("component")
local internet = component.internet
local card