Tutorials_for_BDFD

Rollenverteilung 2.0 en

Sep 20th, 2022 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Variables:
  2.  
  3. role =
  4.  
  5. desc = I can be edited with the `!setdesc` command
  6.  
  7.  
  8. _____ code 1_________
  9. Script: BDscript 2
  10. trigger :!rr
  11.  
  12. $nomention
  13. $title[🎭〣│__Get Role__]
  14. $description[$getServerVar[desc]]
  15. $color[00ffad]
  16. $addButton[no;rr;Get the role;primary;no;🎭]
  17.  
  18.  
  19.  
  20. _____ code 2__________
  21. Script: BDscript
  22. Trigger: $onInteraction[rr]
  23.  
  24. $nomention
  25. $giveRole[$authorID;$getServerVar[rrole]]
  26. $removeButtons
  27. $ephemeral
  28. $description[You have successfully obtained the scroll]
  29. $color[00ff5d]
  30.  
  31.  
  32. _____ code 3__________
  33. Script: BDscript
  34. Trigger: !setdesc
  35.  
  36. $nomention
  37. $title[🎭〣│__Description set__]
  38. $description[The description will now be `$noMentionMessage`]
  39.  
  40. $color[00ffc0]
  41. $setServerVar[desc;$noMentionMessage]
  42. $argsCheck[>1;❌┃ Hey! You still have to tell me the description]
Advertisement
Add Comment
Please, Sign In to add comment