Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $nomention
- $c[Trigger: $onInteraction]
- $var[⚠️ IMPORTANT: Copy from the $var[Made by Xloxn#4050] in the first code and paste it in this one!]
- $var[Made by Xloxn#4050;]
- $var[⚠️ IMPORTANT: Copy from the $var[Made by Xloxn#4050] in the first code and paste it in this one!]
- $var[customID;$customID]
- $if[$or[$checkContains[$var[customID];hpage]==true;$checkContains[$var[customID];hlast]==true;$checkContains[$var[customID];hfirst]==true]==true]
- $textSplit[$var[customID];-]
- $if[$splitText[2]==$authorID]
- $textSplit[$getEmbedData[$channelID;$messageID;1;footer]; ]
- $var[pages;$splitText[4]]
- $textSplit[$var[customID];]
- $if[$checkContains[$var[customID];hlast]==true]
- $var[amount;$var[pages]]
- $elseif[$checkContains[$var[customID];hfirst]==true]
- $var[amount;1]
- $else
- $textSplit[$var[customID];]
- $var[amount;$splitText[6]]
- $endif
- $textSplit[$var[customID];]
- $if[$checkContains[$var[customID];hfirst]==true]
- $var[amount;1]
- $elseif[$checkContains[$var[customID];hlast]==true]
- $var[amount;$var[pages]]
- $else
- $if[$splitText[7]==-]
- $var[amount;$splitText[6]]
- $else
- $if[$splitText[8]!=-]
- $if[$splitText[9]!=-]
- $var[amount;$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $else
- $var[amount;$splitText[6]$splitText[7]$splitText[8]]
- $endif
- $else
- $var[amount;$splitText[6]$splitText[7]]
- $endif
- $endif
- $endif
- $if[$or[$var[amount]==1;$checkContains[$var[customID];hfirst]==true]==true]
- $var[sum;$sub[$multi[8;$var[amount]];8]]
- $else
- $var[sum;$sub[$multi[8;$var[amount]];8]]
- $endif
- $textSplit[$var[Made by Xloxn#4050];|]
- $color[#2f3136]
- $c[// Where the magic happens 😎]
- $description[
- $splitText[$sum[$var[sum];1]]
- $splitText[$sum[$var[sum];2]]
- $splitText[$sum[$var[sum];3]]
- $splitText[$sum[$var[sum];4]]
- $splitText[$sum[$var[sum];5]]
- $splitText[$sum[$var[sum];6]]
- $splitText[$sum[$var[sum];7]]
- $splitText[$sum[$var[sum];8]]
- ]
- $enableDecimals[yes]
- $if[$checkContains[$divide[$getTextSplitLength;9];.]==true]
- $textSplit[$divide[$getTextSplitLength;9];.]
- $var[pages;$sum[$splitText[1];1]]
- $else
- $var[pages;$divide[$getTextSplitLength;9]]
- $endif
- $footer[Page $var[amount] of $var[pages]]
- $textSplit[$var[inv];|]
- $removeButtons
- $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]
- $if[$var[amount]!=1]
- $addButton[no;hfirst-$authorID;;secondary;no;⏪]
- $addButton[no;hpage$sub[$var[amount];1]-$authorID;;secondary;no;⬅️]
- $else
- $addButton[no;hfirst-$authorID;;secondary;yes;⏪]
- $addButton[no;hpage$sub[$var[amount];1]-$authorID;;secondary;yes;⬅️]
- $endif
- $if[$var[amount]!=$var[pages]]
- $addButton[no;hpage$sum[$var[amount];1]-$authorID;;secondary;no;➡️]
- $addButton[no;hlast-$authorID;;secondary;no;⏩]
- $else
- $addButton[no;hpage$sum[$var[amount];1]-$authorID;;secondary;yes;➡️]
- $addButton[no;hlast-$authorID;;secondary;yes;⏩]
- $endif
- $else
- $color[#2f3136]
- $removeButtons
- $ephemeral
- $description[This isn’t for you!]
- $endif
- $endif
- $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement