Advertisement
kreezxil

grandeconomy.lua

May 4th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local monitorSide = "top" -- the side the monitor is on
  2.  
  3. if peripheral.isPresent(monitorSide) and peripheral.getType(monitorSide) == "monitor" then
  4. term.redirect(peripheral.wrap(monitorSide))
  5. else
  6. print("No monitor found")
  7. return
  8. end
  9.  
  10. print("You have a wallet, this is how you use it")
  11. print("")
  12. print("/balance - Check account balance")
  13. print("/pay - Pay another player money from your account")
  14. print("/wallet balance - Check another player's account balance")
  15. print("/wallet give - Add credits to player's account")
  16. print("/wallet take - Take credits from player's account")
  17. print("/wallet set - Set player's account balance")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement