BlackKnight683

BCFD work & bal command [public build]

Nov 8th, 2020 (edited)
2,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Work command Description:
  2. $eval
  3. var AmountMade = $rollnum(0,500)
  4. var a$ID = (a$ID == null) ? AmountMade : a$ID += AmountMade
  5.  
  6. //made by โ€ขOofyOofOofโ€ข#2018
  7. //you are not allowed to share this code without changing it
  8. //checkout my youtube at- http://bit.ly/blackknight683
  9.  
  10. $halt You worked and made ๐Ÿ’ธ**$$get(AmountMade)**๐Ÿ’ธ Dollars
  11.  
  12. Balance command Description: (updated 7.7.2021) (enable phrase)
  13. $eval
  14. if(typeof a$ID === "undefined") {a$ID = 0}
  15.  
  16. var output = "Your Balance: ๐Ÿ’ธ" + a$ID + "๐Ÿ’ธ"
  17. var msg = '$messageAfterCommand'
  18. var MentionCheck = msg.includes('<@$mentionedID>')
  19.  
  20. if(msg === 'ance' || msg === '') {
  21. var output = "Your Balance: ๐Ÿ’ธ" + a$ID + "๐Ÿ’ธ"
  22. } else {
  23. var output = ""
  24. }
  25.  
  26. if(MentionCheck === true && msg.startsWith('ance') || MentionCheck === true && msg.startsWith('')) {
  27. if(typeof a$mentionedID === "undefined") {a$mentionedID = 0}
  28.  
  29. output = "$mentionedNamePlain's Balance: ๐Ÿ’ธ" + a$mentionedID + "๐Ÿ’ธ"
  30. }
  31. $halt $get(output)
Add Comment
Please, Sign In to add comment