Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -=+=- Code 1 -=+=-
- >>>Info<<<
- Be sure to replace the userid with an actual userid
- unstable is not required
- Add a variable named: Code
- Variable code value: nothing
- ---------------
- >>> Triggers <<<
- !code-give away
- ---------------
- >>>Code<<<
- $note
- $onlyForIDs[userID;You do not have permission to give premium codes to other users!]
- $onlyIf[$mentioned[1]!=;`Error` You must mention someone!]
- $setVar[code;$randomString[10]$randomString[5];$mentioned[1]]
- $channelSendMessage[$channelID;Premium code was delivered!]
- Your premium code ||$randomString[10]$randomString[5]||
- Enter "+ activation code" on any server you share with the bot to activate your reward!
- $dm[]
- ---------------
- -=+=- Code 2 -=+=-
- >>>Info<<<
- Be sure to replace the role ID with an actual role ID on the server
- Unstable or BDScript-2 is required
- Add a variable called: premium
- Value of the variable premium: nothing
- ---------------
- >>> Triggers <<<
- !activate
- ---------------
- >>>Code<<<
- $note
- $onlyIf[$guildID!=;`Error` You can't use this in DM!]
- $onlyIf[$message!=;`Error` The given code is invalid!]
- $onlyIf[$checkCondition[$charCount[$message]==15]==true;`Error` The specified code is invalid!]
- $onlyIf[$getVar[code;$authorID]==$message;`Error` The given code is invalid!]
- You have Premium activated in 🎉 `$serverName[$guildID]` 🎉
- $c[This will remove the code from the user]
- $setVar[code;;$authorID]
- $c[This activates the bonus]
- $setServerVar[premium;yes]
- ---------------
- -=+=- code 3 -=+=-
- >>>Info<<<
- Add this to all codes you want to add to premium lock!
- ---------------
- >>>Code<<<
- $onlyIf[$getServerVar[premium]==yes;Your server is not premium!]
- ---------------
Advertisement
Add Comment
Please, Sign In to add comment