Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $c[Code by jaya.l]
- $c[Modified by iamnotjamesbg]
- $c[Added an option to do "random" and ship with a random person on your server]
- $c[API made by jaya.l]
- $c[Works like (prefix)ship random random]
- $c[Previews]
- $c[https://cdn.discordapp.com/attachments/1365393985174114314/1367307485978820699/Screenshot_2025_0501_090746.jpg?ex=68141bd4&is=6812ca54&hm=000848018c31550f4273024837df435d05e8d79a322f189ee40a7b5cd2ec3171&]
- $c[https://cdn.discordapp.com/attachments/1365393985174114314/1367307617357135972/Screenshot_2025_0501_090827.jpg?ex=68141bf3&is=6812ca73&hm=54446c1ea6f0466c3460bf275af26b1336713118d2595a19e341d3aeea237726&]
- $c[https://cdn.discordapp.com/attachments/1365393985174114314/1367307712681213992/Screenshot_2025_0501_090727.jpg?ex=68141c0a&is=6812ca8a&hm=d8258486a33a6260b67f4da3627aa3696f744cceb689d5a551c6ae283b492fac&]
- $c[======CODE======]
- Trigger: (prefix)ship
- BDScript 2
- Code:
- $nomention
- $suppressErrors
- $var[percentage;$random[1;101]]
- $var[perfect;100]
- $var[user1;$mentioned[1]]
- $var[user2;$mentioned[2]]
- $var[title;Ship Meter]
- $if[$message==random]
- $var[user1;$authorID]
- $var[user2;$randomUserID]
- $elseif[$message==random random]
- $var[user1;$randomUserID]
- $var[user2;$userID[$randomUser]]
- $elseif[$and[$message[1]==random;$mentioned[1]!=]]
- $var[user1;$randomUserID]
- $var[user2;$mentioned[1]]
- $elseif[$and[$mentioned[1]!=;$message[2]==random]]
- $var[user1;$mentioned[1]]
- $var[user2;$randomUserID]
- $endif
- $if[$var[user1]==$var[user2]]
- $var[percentage;100]
- $endif
- $if[$var[user1]==]
- - You need to mention at least one user or use `random`!
- $stop
- $endif
- $try
- $cooldown[5s;]
- $catch
- $var[cooldown;$sendMessage[⏳ | **$username** You are on cooldown! Try again **<t:$sum[$getTimestamp;$getCooldown[normal]]:R>**;yes]]
- $replyIn[$getCooldown[normal]s]
- $replyIn[1s]
- $deleteMessage[$channelID;$var[cooldown]]
- $stop
- $endtry
- $title[Compatibility Meter]
- $description[Will this couple work out?]
- $if[$var[user2]==]
- $addField[Shipped!;$nickname[$var[user1]] + $nickname[$var[user1]]]
- $image[https://jayaapi.vercel.app/freeship?user1=$userAvatar[$var[user1]]&user2=$userAvatar[$var[user1]]&title=$url[encode;$var[title]]&porcentagem=$var[perfect]]
- $else
- $addField[Shipped!;$nickname[$var[user1]] + $nickname[$var[user2]]]
- $image[https://jayaapi.vercel.app/freeship?user1=$userAvatar[$var[user1]]&user2=$userAvatar[$var[user2]]&title=$url[encode;$var[title]]&porcentagem=$var[percentage]]
- $endif
- $color[FF0000]
- $c[=======END OF CODE======]
- $c[Additional changes]
- $c[If pairing is the author, automically rate it 100%, you can remove it if you want randomized rating for author]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement