I just need some simple help.
I use this code:
$(user) $(eval a=
$(urlfetch json https://pastebin.com/raw/***).split(
What i want to change / remove in this code is the “random” function.
In the Pastebin file there are over a hundred lines and I want them to show up one by one and not randomly when the command triggered.
Any help would be greatly appreciated.
For that we’ll use the
$(count) variable and the remainder operator:
$(eval a=`$(urlfetch json https://pastebin.com/raw/PASTE_ID)`.split(`#`); a[parseInt('$(count)') % a.length];)
It’ll likely skip the first line for the first lap, but once it’ll come back around, it’ll start with the first line; don’t alter your paste to get the first line to show up on the first lap.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.