Tutorials_for_BDFD

Premiumsystem englisch

Aug 30th, 2022
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. -=+=- Code 1 -=+=-
  2.  
  3. >>>Info<<<
  4. Be sure to replace the userid with an actual userid
  5. unstable is not required
  6. Add a variable named: Code
  7. Variable code value: nothing
  8. ---------------
  9.  
  10. >>> Triggers <<<
  11. !code-give away
  12. ---------------
  13.  
  14. >>>Code<<<
  15. $note
  16.  
  17. $onlyForIDs[userID;You do not have permission to give premium codes to other users!]
  18. $onlyIf[$mentioned[1]!=;`Error` You must mention someone!]
  19.  
  20. $setVar[code;$randomString[10]$randomString[5];$mentioned[1]]
  21.  
  22. $channelSendMessage[$channelID;Premium code was delivered!]
  23.  
  24. Your premium code ||$randomString[10]$randomString[5]||
  25. Enter "+ activation code" on any server you share with the bot to activate your reward!
  26. $dm[]
  27. ---------------
  28.  
  29.  
  30. -=+=- Code 2 -=+=-
  31.  
  32. >>>Info<<<
  33. Be sure to replace the role ID with an actual role ID on the server
  34. Unstable or BDScript-2 is required
  35. Add a variable called: premium
  36. Value of the variable premium: nothing
  37. ---------------
  38.  
  39. >>> Triggers <<<
  40. !activate
  41. ---------------
  42.  
  43. >>>Code<<<
  44. $note
  45.  
  46. $onlyIf[$guildID!=;`Error` You can't use this in DM!]
  47. $onlyIf[$message!=;`Error` The given code is invalid!]
  48. $onlyIf[$checkCondition[$charCount[$message]==15]==true;`Error` The specified code is invalid!]
  49. $onlyIf[$getVar[code;$authorID]==$message;`Error` The given code is invalid!]
  50.  
  51.  
  52. You have Premium activated in 🎉 `$serverName[$guildID]` 🎉
  53.  
  54. $c[This will remove the code from the user]
  55. $setVar[code;;$authorID]
  56. $c[This activates the bonus]
  57. $setServerVar[premium;yes]
  58. ---------------
  59.  
  60.  
  61. -=+=- code 3 -=+=-
  62.  
  63. >>>Info<<<
  64. Add this to all codes you want to add to premium lock!
  65. ---------------
  66.  
  67. >>>Code<<<
  68. $onlyIf[$getServerVar[premium]==yes;Your server is not premium!]
  69. ---------------
Advertisement
Add Comment
Please, Sign In to add comment