Brucord-Xloxn1296

Xloxn#4050 | Highlow Command

Mar 18th, 2022 (edited)
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. PLEASE READ BEFORE ASKING FOR HELP:
  2.  
  3. Make the trigger your prefix thats it
  4. for example: “!” not “!highlow”, but when running the command say “!hl” or “! highlow”
  5.  
  6. If you do end up with any problems, Join this server https://discord.gg/JcENFCf and either ping me (Xloxn#4050) or wait for someone else
  7.  
  8. _________________
  9.  
  10. Variables (REQUIRED OTHERWISE IT WONT WORK):
  11.  
  12. hlnumber = N/A
  13.  
  14. hint = N/A
  15.  
  16. Money = 0
  17.  
  18. ________________
  19.  
  20. Trigger: (prefix)
  21.  
  22. Script : BDscript 2
  23.  
  24.  
  25. $nomention
  26. $if[$checkContains[$toLowercase[$message[1]];hl;highlow]==true]
  27.  
  28. $color[$randomText[#f9c941;#932cf3;#24a39b]]
  29.  
  30. $var[hint;$optOff[$random[1;100]]]
  31.  
  32. $setUserVar[hlnumber;$optOff[$random[1;100]];$authorID]
  33.  
  34. $setUserVar[hint;$var[hint];$authorID]
  35.  
  36.  
  37. $authorIcon[$authorAvatar]
  38. $author[$username’s high-low game]
  39. $description[I just chose a secret number between **1** and **100**.
  40. Is the secret number *higher* or *lower* than **$var[hint]**]
  41. $footer[The jackpot button is if you thonk it’s the same!]
  42.  
  43. $addButton[no;lower-$authorID;Lower;primary;no;]
  44. $addButton[no;jackpot-$authorID;JACKPOT!;primary;no;]
  45. $addButton[no;higher-$authorID;Higher;primary;no;]
  46. $endif
  47.  
  48. __________________________
  49.  
  50. Trigger: $onInteraction
  51.  
  52. Script: BDscript 2
  53.  
  54.  
  55. $nomention
  56. $if[$customID==lower-$authorID]
  57. $if[$getUserVar[hint;$authorID]>$getUserVar[hlnumber;$authorID]]
  58. $authorIcon[$authorAvatar]
  59. $author[$username’s winning high-low game]
  60. $description[**You won ⏣ $numberSeparator[$random[1000;5000];,]**!
  61.  
  62. Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
  63. $editButton[lower-$authorID;Lower;primary;yes;]
  64. $editButton[jackpot-$authorID;JACKPOT;secondary;yes;]
  65. $editButton[higher-$authorID;Higher;secondary;yes;]
  66. $color[1da72b]
  67. $footer[Multi Bonus: +50% (⏣ $numberSeparator[$divide[$random[1000;5000];2];,])]
  68.  
  69.  
  70. $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$random[1000;5000]];$authorID]
  71.  
  72.  
  73. $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$divide[$random[1000;5000];2]];$authorID]
  74.  
  75. $else
  76. $authorIcon[$authorAvatar]
  77. $author[$username’s winning high-low game]
  78. $description[**You lost!**
  79.  
  80. Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
  81. $editButton[lower-$authorID;Lower;primary;yes;]
  82. $editButton[jackpot-$authorID;JACKPOT!;secondary;yes;]
  83. $editButton[higher-$authorID;Higher;secondary;yes;]
  84. $color[e13c3c]
  85. $footer[imagine being dog water]
  86. $endif
  87. $endif
  88.  
  89.  
  90. $if[$customID==jackpot-$authorID]
  91. $if[$getUserVar[hint;$authorID]==$getUserVar[hlnumber;$authorID]]
  92. $authorIcon[$authorAvatar]
  93. $author[$username’s winning high-low game]
  94. $description[**You won ⏣ $numberSeparator[$random[1000;5000];,]**!
  95.  
  96. Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
  97. $editButton[lower-$authorID;Lower;secondary;yes;]
  98. $editButton[jackpot-$authorID;JACKPOT!;primary;yes;]
  99. $editButton[higher-$authorID;Higher;secondary;yes;]
  100. $color[1da72b]
  101. $footer[Multi Bonus: +50% (⏣ $numberSeparator[$divide[$random[1000;5000];2];,])]
  102.  
  103.  
  104. $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$random[1000;5000]];$authorID]
  105.  
  106.  
  107. $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$divide[$random[1000;5000];2]];$authorID]
  108.  
  109. $else
  110. $authorIcon[$authorAvatar]
  111. $author[$username’s winning high-low game]
  112. $description[**You lost!**
  113.  
  114. Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
  115. $editButton[lower-$authorID;Lower;secondary;yes;]
  116. $editButton[jackpot-$authorID;JACKPOT!;primary;yes;]
  117. $editButton[higher-$authorID;Higher;secondary;yes;]
  118. $color[e13c3c]
  119. $footer[imagine being dog water]
  120. $endif
  121. $endif
  122.  
  123. $if[$customID==higher-$authorID]
  124. $if[$getUserVar[hint;$authorID]<$getUserVar[hlnumber;$authorID]]
  125. $authorIcon[$authorAvatar]
  126. $author[$username’s winning high-low game]
  127. $description[**You won ⏣ $numberSeparator[$random[1000;5000];,]**!
  128.  
  129. Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
  130. $editButton[lower-$authorID;Lower;secondary;yes;]
  131. $editButton[jackpot-$authorID;JACKPOT!;secondary;yes;]
  132. $editButton[higher-$authorID;Higher;primary;yes;]
  133. $color[1da72b]
  134. $footer[Multi Bonus: +50% (⏣ $numberSeparator[$divide[$random[1000;5000];2];,])]
  135.  
  136.  
  137. $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$random[1000;5000]];$authorID]
  138.  
  139.  
  140. $setUserVar[Money;$sum[$getUserVar[Money;$authorID];$divide[$random[1000;5000];2]];$authorID]
  141.  
  142. $else
  143. $authorIcon[$authorAvatar]
  144. $author[$username’s winning high-low game]
  145. $description[**You lost!**
  146.  
  147. Your hint was **$getUserVar[hint;$authorID]**. The hidden number was **$getUserVar[hlnumber;$authorID]**.]
  148. $editButton[lower-$authorID;Lower;secondary;yes;]
  149. $editButton[jackpot-$authorID;JACKPOT!;secondary;yes;]
  150. $editButton[higher-$authorID;Higher;primary;yes;]
  151. $color[e13c3c]
  152. $footer[imagine being dog water]
  153. $endif
  154. $endif
  155.  
Add Comment
Please, Sign In to add comment