Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A simple trade command for non premium users :
- Variables Needed :
- Trade = 0
- Trade User = 0
- Command 1 :
- Trigger : .trade
- Language : BDScript 1
- Trade Send Code :
- $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]
- $onlyIf[$getVar[Trade;$mention[1]]==0;The user is currently having a trade request with someone else]
- $onlyIf[$mentioned[1]!=$authorID;You can't trade with yourself]
- $title[Trade Sent]
- $description[Your trade request was sent to <@$mentioned[1]> for him to accept your trade he needs to type `.accept`]
- $color[ffff00]
- $setVar[Trade;1;$mentioned[1]]
- $setVar[Trade User;$username;$mentioned[1]]
- Command 2 :
- Trigger : .decline
- Trade Decline Code :
- $onlyIf[$getVar[Trade;$authorID]==1;You don't have any active trade requests yet]
- $title[Trade Declined]
- $description[You declined $getVar[Trade User;$authorID] Trade Request]
- $color[0000ff]
- $setVar[Trade;0;$authorID]
Advertisement
Add Comment
Please, Sign In to add comment