Advertisement
Brucord-Xloxn1296

Dank Memer’s Inventory Command 2/2 | By: Xloxn#4050 (Global User)

Oct 26th, 2022 (edited)
1,417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 12.18 KB | None | 0 0
  1. $nomention
  2. $var[customID;$customID]
  3. $if[$or[$checkContains[$var[customID];ipage]==true;$checkContains[$var[customID];ilast]==true;$checkContains[$var[customID];ifirst]==true]==true]
  4.  
  5. $textSplit[$var[customID];-]
  6. $var[user;$splitText[3]]
  7.  
  8. $c[⬇️ Step 2/2: Paste Below!]
  9.  
  10.  
  11.  
  12.  
  13. $c[⬆️ Step 2/2: Paste Above!]
  14.  
  15. $var[Made by Xloxn#4050;$try $if[$getVar[$var[item-var–1];$var[user]]>0]
  16. $var[item-emoji-1] **$var[item-name-1]**$numberSeparator[$getVar[$var[item-var–1];$var[user]];,]
  17. $var[item-type-1]|$endif $endtry$try $if[$getVar[$var[item-var–2];$var[user]]>0]
  18. $var[item-emoji-2] **$var[item-name-2]**$numberSeparator[$getVar[$var[item-var–2];$var[user]];,]
  19. $var[item-type-2]|$endif $endtry$try $if[$getVar[$var[item-var–3];$var[user]]>0]
  20. $var[item-emoji-3] **$var[item-name-3]**$numberSeparator[$getVar[$var[item-var–3];$var[user]];,]
  21. $var[item-type-3]|$endif $endtry$try $if[$getVar[$var[item-var–4];$var[user]]>0]
  22. $var[item-emoji-4] **$var[item-name-4]**$numberSeparator[$getVar[$var[item-var–4];$var[user]];,]
  23. $var[item-type-4]|$endif $endtry$try $if[$getVar[$var[item-var–5];$var[user]]>0]
  24. $var[item-emoji-5] **$var[item-name-5]**$numberSeparator[$getVar[$var[item-var–5];$var[user]];,]
  25. $var[item-type-5]|$endif $endtry$try $if[$getVar[$var[item-var–6];$var[user]]>0]
  26. $var[item-emoji-6] **$var[item-name-6]**$numberSeparator[$getVar[$var[item-var–6];$var[user]];,]
  27. $var[item-type-6]|$endif $endtry$try $if[$getVar[$var[item-var–7];$var[user]]>0]
  28. $var[item-emoji-7] **$var[item-name-7]**$numberSeparator[$getVar[$var[item-var–7];$var[user]];,]
  29. $var[item-type-7]|$endif $endtry$try $if[$getVar[$var[item-var–8];$var[user]]>0]
  30. $var[item-emoji-8] **$var[item-name-8]**$numberSeparator[$getVar[$var[item-var–8];$var[user]];,]
  31. $var[item-type-8]|$endif $endtry$try $if[$getVar[$var[item-var–9];$var[user]]>0]
  32. $var[item-emoji-9] **$var[item-name-9]**$numberSeparator[$getVar[$var[item-var–9];$var[user]];,]
  33. $var[item-type-9]|$endif $endtry$try $if[$getVar[$var[item-var–10];$var[user]]>0]
  34. $var[item-emoji-10] **$var[item-name-10]**$numberSeparator[$getVar[$var[item-var–10];$var[user]];,]
  35. $var[item-type-10]|$endif $endtry$try $if[$getVar[$var[item-var–11];$var[user]]>0]
  36. $var[item-emoji-11] **$var[item-name-11]**$numberSeparator[$getVar[$var[item-var–11];$var[user]];,]
  37. $var[item-type-11]|$endif $endtry$try $if[$getVar[$var[item-var–12];$var[user]]>0]
  38. $var[item-emoji-12] **$var[item-name-12]**$numberSeparator[$getVar[$var[item-var–12];$var[user]];,]
  39. $var[item-type-12]|$endif $endtry$try $if[$getVar[$var[item-var–13];$var[user]]>0]
  40. $var[item-emoji-13] **$var[item-name-13]**$numberSeparator[$getVar[$var[item-var–13];$var[user]];,]
  41. $var[item-type-13]|$endif $endtry$try $if[$getVar[$var[item-var–14];$var[user]]>0]
  42. $var[item-emoji-14] **$var[item-name-14]**$numberSeparator[$getVar[$var[item-var–14];$var[user]];,]
  43. $var[item-type-14]|$endif $endtry$try $if[$getVar[$var[item-var–15];$var[user]]>0]
  44. $var[item-emoji-15] **$var[item-name-15]**$numberSeparator[$getVar[$var[item-var–15];$var[user]];,]
  45. $var[item-type-15]|$endif $endtry$try $if[$getVar[$var[item-var–16];$var[user]]>0]
  46. $var[item-emoji-16] **$var[item-name-16]**$numberSeparator[$getVar[$var[item-var–16];$var[user]];,]
  47. $var[item-type-16]|$endif $endtry$try $if[$getVar[$var[item-var–17];$var[user]]>0]
  48. $var[item-emoji-17] **$var[item-name-17]**$numberSeparator[$getVar[$var[item-var–17];$var[user]];,]
  49. $var[item-type-17]|$endif $endtry$try $if[$getVar[$var[item-var–18];$var[user]]>0]
  50. $var[item-emoji-18] **$var[item-name-18]**$numberSeparator[$getVar[$var[item-var–18];$var[user]];,]
  51. $var[item-type-18]|$endif $endtry$try $if[$getVar[$var[item-var–19];$var[user]]>0]
  52. $var[item-emoji-19] **$var[item-name-19]**$numberSeparator[$getVar[$var[item-var–19];$var[user]];,]
  53. $var[item-type-19]|$endif $endtry$try $if[$getVar[$var[item-var–120];$var[user]]>0]
  54. $var[item-emoji-20] **$var[item-name-120]**$numberSeparator[$getVar[$var[item-var–120];$var[user]];,]
  55. $var[item-type-20]|$endif $endtry$try $if[$getVar[$var[item-var–21];$var[user]]>0]
  56. $var[item-emoji-21] **$var[item-name-21]**$numberSeparator[$getVar[$var[item-var–21];$var[user]];,]
  57. $var[item-type-21]|$endif $endtry$try $if[$getVar[$var[item-var–22];$var[user]]>0]
  58. $var[item-emoji-22] **$var[item-name-22]**$numberSeparator[$getVar[$var[item-var–22];$var[user]];,]
  59. $var[item-type-22]|$endif $endtry$try $if[$getVar[$var[item-var–23];$var[user]]>0]
  60. $var[item-emoji-23] **$var[item-name-23]**$numberSeparator[$getVar[$var[item-var–23];$var[user]];,]
  61. $var[item-type-23]|$endif $endtry$try $if[$getVar[$var[item-var–24];$var[user]]>0]
  62. $var[item-emoji-24] **$var[item-name-24]**$numberSeparator[$getVar[$var[item-var–24];$var[user]];,]
  63. $var[item-type-24]|$endif $endtry$try $if[$getVar[$var[item-var–25];$var[user]]>0]
  64. $var[item-emoji-25] **$var[item-name-25]**$numberSeparator[$getVar[$var[item-var–25];$var[user]];,]
  65. $var[item-type-25]|$endif $endtry$try $if[$getVar[$var[item-var–26];$var[user]]>0]
  66. $var[item-emoji-26] **$var[item-name-26]**$numberSeparator[$getVar[$var[item-var–26];$var[user]];,]
  67. $var[item-type-26]|$endif $endtry$try $if[$getVar[$var[item-var–27];$var[user]]>0]
  68. $var[item-emoji-27] **$var[item-name-27]**$numberSeparator[$getVar[$var[item-var–27];$var[user]];,]
  69. $var[item-type-27]|$endif $endtry$try $if[$getVar[$var[item-var–28];$var[user]]>0]
  70. $var[item-emoji-28] **$var[item-name-28]**$numberSeparator[$getVar[$var[item-var–28];$var[user]];,]
  71. $var[item-type-28]|$endif $endtry$try $if[$getVar[$var[item-var–29];$var[user]]>0]
  72. $var[item-emoji-29] **$var[item-name-29]**$numberSeparator[$getVar[$var[item-var–29];$var[user]];,]
  73. $var[item-type-29]|$endif $endtry$try $if[$getVar[$var[item-var–30];$var[user]]>0]
  74. $var[item-emoji-30] **$var[item-name-30]**$numberSeparator[$getVar[$var[item-var–2230];$var[user]];,]
  75. $var[item-type-30]|$endif $endtry$try $if[$getVar[$var[item-var–31];$var[user]]>0]
  76. $var[item-emoji-31] **$var[item-name-31]**$numberSeparator[$getVar[$var[item-var–31];$var[user]];,]
  77. $var[item-type-31]|$endif $endtry$try $if[$getVar[$var[item-var–33];$var[user]]>0]
  78. $var[item-emoji-33] **$var[item-name-33]**$numberSeparator[$getVar[$var[item-var–33];$var[user]];,]
  79. $var[item-type-33]|$endif $endtry$try $if[$getVar[$var[item-var–34];$var[user]]>0]
  80. $var[item-emoji-34] **$var[item-name-34]**$numberSeparator[$getVar[$var[item-var–34];$var[user]];,]
  81. $var[item-type-34]|$endif $endtry$try $if[$getVar[$var[item-var–35];$var[user]]>0]
  82. $var[item-emoji-35] **$var[item-name-35]**$numberSeparator[$getVar[$var[item-var–35];$var[user]];,]
  83. $var[item-type-35]|$endif $endtry$try $if[$getVar[$var[item-var–36];$var[user]]>0]
  84. $var[item-emoji-36] **$var[item-name-36]**$numberSeparator[$getVar[$var[item-var–36];$var[user]];,]
  85. $var[item-type-36]|$endif $endtry$try $if[$getVar[$var[item-var–37];$var[user]]>0]
  86. $var[item-emoji-37] **$var[item-name-37]**$numberSeparator[$getVar[$var[item-var–37];$var[user]];,]
  87. $var[item-type-37]|$endif $endtry$try $if[$getVar[$var[item-var–38];$var[user]]>0]
  88. $var[item-emoji-38] **$var[item-name-38]**$numberSeparator[$getVar[$var[item-var–38];$var[user]];,]
  89. $var[item-type-38]|$endif $endtry$try $if[$getVar[$var[item-var–39];$var[user]]>0]
  90. $var[item-emoji-39] **$var[item-name-39]**$numberSeparator[$getVar[$var[item-var–39];$var[user]];,]
  91. $var[item-type-39]|$endif $endtry$try $if[$getVar[$var[item-var–40];$var[user]]>0]
  92. $var[item-emoji-40] **$var[item-name-40]**$numberSeparator[$getVar[$var[item-var–3340];$var[user]];,]
  93. $var[item-type-40]|$endif $endtry$try $if[$getVar[$var[item-var–41];$var[user]]>0]
  94. $var[item-emoji-41] **$var[item-name-41]**$numberSeparator[$getVar[$var[item-var–41];$var[user]];,]
  95. $var[item-type-41]|$endif $endtry$try $if[$getVar[$var[item-var–43];$var[user]]>0]
  96. $var[item-emoji-43] **$var[item-name-43]**$numberSeparator[$getVar[$var[item-var–43];$var[user]];,]
  97. $var[item-type-43]|$endif $endtry$try $if[$getVar[$var[item-var–44];$var[user]]>0]
  98. $var[item-emoji-44] **$var[item-name-44]**$numberSeparator[$getVar[$var[item-var–44];$var[user]];,]
  99. $var[item-type-44]|$endif $endtry$try $if[$getVar[$var[item-var–45];$var[user]]>0]
  100. $var[item-emoji-45] **$var[item-name-45]**$numberSeparator[$getVar[$var[item-var–45];$var[user]];,]
  101. $var[item-type-45]|$endif $endtry$try $if[$getVar[$var[item-var–46];$var[user]]>0]
  102. $var[item-emoji-46] **$var[item-name-46]**$numberSeparator[$getVar[$var[item-var–46];$var[user]];,]
  103. $var[item-type-46]|$endif $endtry$try $if[$getVar[$var[item-var–47];$var[user]]>0]
  104. $var[item-emoji-47] **$var[item-name-47]**$numberSeparator[$getVar[$var[item-var–47];$var[user]];,]
  105. $var[item-type-47]|$endif $endtry$try $if[$getVar[$var[item-var–48];$var[user]]>0]
  106. $var[item-emoji-48] **$var[item-name-48]**$numberSeparator[$getVar[$var[item-var–48];$var[user]];,]
  107. $var[item-type-48]|$endif $endtry$try $if[$getVar[$var[item-var–49];$var[user]]>0]
  108. $var[item-emoji-49] **$var[item-name-49]**$numberSeparator[$getVar[$var[item-var–49];$var[user]];,]
  109. $var[item-type-49]|$endif $endtry$try $if[$getVar[$var[item-var–50];$var[user]]>0]
  110. $var[item-emoji-50] **$var[item-name-50]**$numberSeparator[$getVar[$var[item-var–50];$var[user]];,]
  111. $var[item-type-50]|$endif $endtry
  112. ]
  113.  
  114.  
  115. $textSplit[$var[customID];-]
  116. $if[$splitText[2]==$authorID]
  117.  
  118.  
  119. $var[Made by Xloxn#4050;$var[Made by Xloxn#4050]]
  120.  
  121.  
  122. $textSplit[$getEmbedData[$channelID;$messageID;1;footer]; ]
  123. $var[pages;$splitText[4]]
  124.  
  125.  
  126. $textSplit[$var[customID];]
  127.  
  128. $if[$checkContains[$var[customID];ilast]==true]
  129. $var[amount;$var[pages]]
  130. $elseif[$checkContains[$var[customID];ifirst]==true]
  131. $var[amount;1]
  132. $else
  133. $textSplit[$var[customID];]
  134. $var[amount;$splitText[6]]
  135. $endif
  136.  
  137.  
  138. $textSplit[$var[customID];]
  139. $if[$checkContains[$var[customID];ifirst]==true]
  140. $var[amount;1]
  141. $elseif[$checkContains[$var[customID];ilast]==true]
  142. $var[amount;$var[pages]]
  143. $else
  144. $if[$splitText[7]==-]
  145. $var[amount;$splitText[6]]
  146. $else
  147. $if[$splitText[8]!=-]
  148. $if[$splitText[9]!=-]
  149. $var[amount;$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  150. $else
  151. $var[amount;$splitText[6]$splitText[7]$splitText[8]]
  152. $endif
  153. $else
  154. $var[amount;$splitText[6]$splitText[7]]
  155. $endif
  156. $endif
  157.  
  158. $endif
  159.  
  160. $if[$or[$var[amount]==1;$checkContains[$var[customID];ifirst]==true]==true]
  161. $var[sum;$sub[$multi[8;$var[amount]];8]]
  162. $else
  163. $var[sum;$sub[$multi[8;$var[amount]];8]]
  164. $endif
  165.  
  166. $textSplit[$var[Made by Xloxn#4050];|]
  167.  
  168. $color[#2f3136]
  169.  
  170. $c[// Where the magic happens 😎]
  171.  
  172. $authorIcon[$userAvatar[$var[user]]]
  173. $author[$username[$var[user]]’s Inventory]
  174.  
  175.  
  176. $description[
  177.  
  178. $splitText[$sum[$var[sum];1]]
  179.  
  180. $splitText[$sum[$var[sum];2]]
  181.  
  182. $splitText[$sum[$var[sum];3]]
  183.  
  184. $splitText[$sum[$var[sum];4]]
  185.  
  186. $splitText[$sum[$var[sum];5]]
  187.  
  188. $splitText[$sum[$var[sum];6]]
  189.  
  190. $splitText[$sum[$var[sum];7]]
  191.  
  192. $splitText[$sum[$var[sum];8]]
  193. ]
  194.  
  195. $enableDecimals[yes]
  196. $if[$checkContains[$divide[$getTextSplitLength;9];.]==true]
  197. $textSplit[$divide[$getTextSplitLength;9];.]
  198. $var[pages;$sum[$splitText[1];1]]
  199. $else
  200. $var[pages;$divide[$getTextSplitLength;9]]
  201. $endif
  202. $footer[Page $var[amount] of $var[pages]]
  203. $textSplit[$var[inv];|]
  204.  
  205.  
  206. $removeButtons
  207.  
  208. $c[// Change button emojis if you’d like, if you do so make sure to go to the first command and change it from there]
  209.  
  210. $if[$var[amount]!=1]
  211. $addButton[no;ifirst-$authorID-$var[user];;secondary;no;⏪]
  212. $addButton[no;ipage$sub[$var[amount];1]-$authorID-$var[user];;secondary;no;⬅️]
  213. $else
  214. $addButton[no;ifirst-$authorID-$var[user];;secondary;yes;⏪]
  215. $addButton[no;ipage$sub[$var[amount];1]-$authorID-$var[user];;secondary;yes;⬅️]
  216. $endif
  217.  
  218. $if[$var[amount]!=$var[pages]]
  219. $addButton[no;ipage$sum[$var[amount];1]-$authorID-$var[user];;secondary;no;➡️]
  220. $addButton[no;ilast-$authorID-$var[user];;secondary;no;⏩]
  221. $else
  222. $addButton[no;ipage$sum[$var[amount];1]-$authorID-$var[user];;secondary;yes;➡️]
  223. $addButton[no;ilast-$authorID-$var[user];;secondary;yes;⏩]
  224. $endif
  225.  
  226.  
  227. $else
  228. $color[#2f3136]
  229. $removeButtons
  230. $ephemeral
  231. $description[This isn’t for you!]
  232. $endif
  233. $endif
  234.  
  235. $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement