Dreamer_1314

Untitled

May 23rd, 2022
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. A simple trade command for non premium users :
  2.  
  3. Variables Needed :
  4. Trade = 0
  5. Trade User = 0
  6.  
  7. Command 1 :
  8.  
  9. Trigger : .trade
  10.  
  11. Language : BDScript 1
  12.  
  13. Trade Send Code :
  14. $onlyIf[$getVar[Trade;$authorID]==0;Someone else is sending you a trade request with you type `.accept` or `.decline` to trade with someone else again]
  15. $onlyIf[$getVar[Trade;$mention[1]]==0;The user is currently having a trade request with someone else]
  16. $onlyIf[$mentioned[1]!=$authorID;You can't trade with yourself]
  17. $title[Trade Sent]
  18. $description[Your trade request was sent to <@$mentioned[1]> for him to accept your trade he needs to type `.accept`]
  19. $color[ffff00]
  20. $setVar[Trade;1;$mentioned[1]]
  21. $setVar[Trade User;$username;$mentioned[1]]
  22.  
  23. Command 2 :
  24.  
  25. Trigger : .decline
  26.  
  27. Language : BDScript 1
  28.  
  29. Trade Decline Code :
  30. $onlyIf[$getVar[Trade;$authorID]==1;You don't have any active trade requests yet]
  31. $title[Trade Declined]
  32. $description[You declined $getVar[Trade User;$authorID] Trade Request]
  33. $color[0000ff]
  34. $setVar[Trade;0;$authorID]
  35.  
  36. Command 3 :
  37.  
  38. Trigger : .accept
  39.  
  40. Trade Accept Code :
  41. $onlyIf[$getVar[Trade;$authorID]==1;You currently have no active trade requests]
  42. $title[$username and $getVar[Trade User;$authorID] trade]
  43. $description[$username's offer :
  44. 🔴 Nothing
  45.  
  46. $getVar[Trade User;$authorID]'s offer :
  47.  
  48. 🔴 Nothing]
  49. $color[ffff00]
  50.  
  51. Sorry that I can't make the .trade add item/money command because that command depends on the variables on your app
Advertisement
Add Comment
Please, Sign In to add comment