Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[ BlueBank Admin by TrumpetMiner v3.5
- --[ pastebin get 6WpAVENC admin
- --[ Setup
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.yellow)
- ser = 46 -- Server ID#
- side = "top" -- Rednet Modem Side
- dSide = "left" -- Disk Drive Side (End)
- rednet.open(side)
- function start()
- term.clear()
- term.setCursorPos(3,4)
- print "[Add Money]"
- --term.setCursorPos(3,6)
- --print "[Check Balance]"
- term.setCursorPos(3,8)
- print "[New Encryption Key]"
- term.setCursorPos(3,10)
- print "[Auth Code Request]"
- event, button, x, y = os.pullEvent("mouse_click")
- if x >= 3 and x <= 14 and y == 4 then
- term.clear()
- term.setCursorPos(3,4)
- write "User: "
- user = read()
- term.setCursorPos(3,6)
- write "Amount: "
- amt = read()
- term.setCursorPos(3,8)
- write "Authorization Code > "
- auth = read()
- rednet.send(ser,"Add")
- rednet.send(ser,user)
- rednet.send(ser,amt)
- rednet.send(ser,auth)
- id, msg = rednet.receive()
- term.clear()
- term.setCursorPos(3,4)
- print(msg)
- os.pullEvent("mouse_click")
- start()
- elseif x >=3 and x <= 22 and y == 8 then
- key()
- elseif x >= 3 and x <= 21 and y == 10 then
- term.clear()
- rednet.send(ser,"Auth")
- id, msg = rednet.receive()
- term.setCursorPos(3,4)
- print(msg)
- os.pullEvent("mouse_click")
- start()
- else
- start()
- end
- end
- function key()
- term.clear()
- if disk.hasData(dSide) == true then
- term.setCursorPos(3,4)
- start()
- else
- term.setCursorPos(3,4)
- print "Please Insert Key"
- os.pullEvent("disk")
- key()
- end
- end
- start()
Add Comment
Please, Sign In to add comment