Dreamer_1314

Database Command

Jun 3rd, 2022
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Database Command :
  2.  
  3. Needed Variables :
  4. Coins = 0
  5. Ran Commands = 0
  6.  
  7. Trigger : .db
  8.  
  9. Syntax : .db [mention user (optional)]
  10.  
  11. Language :
  12.  
  13. Code :
  14. $title[$username[$mentioned[1;yes]]'s Database Information]
  15. $description[Database
  16.  
  17. Current Balance : $getVar[Coins;$mentioned[1;yes]]
  18.  
  19. Commands Ran : $getVar[Ran Commands;$mentioned[1;yes]]]
  20. $color[ffff00]
  21.  
  22. Command Guide :
  23. Only add the variable coins if your bot has economy system and if your bot does have a economy system but has a different name change the all the "Coins" text to your currency name and I want you to add this text to all your bots commands -> "$setVar[Ran Commands;$sum[$getVar[Ran Commands;$authorID];1];$authorID]" <- note that do not include the "" and you can add more to the users database by using variables like "Coins Won" and "Coins Loss" etc.
Advertisement
Add Comment
Please, Sign In to add comment