Advertisement
Marlingaming

Banking System Transfer API - Client

Sep 15th, 2021
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. --Banking SYstem API(Client)
  2. --this program acts as a API for any of my programs that require access to Banking System
  3. --this program is for Minecraft 1.16.5, CC Tweaked
  4.  
  5.  
  6. local tArg = {..}
  7. local AccountA = tArg[1]
  8. local AccountB = tArg[2]
  9. local Key = tArg[3]
  10. local Protocol = tArg[4]
  11. local Amount = tArg[5]
  12. local Bank = tArg[6]
  13. function Transfer()
  14. rednet.open()
  15. local id = rednet.lookup(Protocol, Bank)
  16. local SendData = {AccountA,AccountB,Key,Amount}
  17. rednet.send(id, SendData, Protocol)
  18. end
  19.  
  20. Transfer()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement