Message from @Pence Bot
Discord ID: 291621794094383104
p!check'em
p!check'em
DONT SPAM THE GENERAL PLEASE
p!check'em If trips, we crowdfund a helicopter
also bots run on a max bandwidth
wowruip
Rip bot.
RIP
it'll catch up
it's just you triggered it
Still though, don't spam general.
9217917886
Faggot.
8269507627
Faggot.
6679708583
Faggot.
8250162165
Faggot.
8090911906
Faggot.
That's a lot of Faggots
What are you using to generate the numbers though
basically darty I take the log10 of whatever size I want
then roll a number for each space
if that number is the same as the prior it'll add +1 to how many are repeating
and then it adds the number to the front of the string
9423524859
Faggot.
> makes a bot to generate imageboard style post numbers
> numbers are completely randomized and are not actually post numbers
so you start out with say 1
then roll a 1
1 == 1 is true, so repeating is 2
and then 11 is the string
then you roll a 2
2 isn't the same as 1, so repeating is locked at 2
and then you get 211
Why not just generate a random number between 1000000 and 9999999?
the individual numbers are just (int)(Math.Random()*10)
and because then to check how many repeating I'd need to do a looot more modulus logic
same amount of work this just came into my head first
same accuracy too
int rep(int digits)
{
if(digits%10==(digits/10)%10)
{
return reps(digits/10)+1;
}
return 0;
}
that would only check 2 digits out of the list and you'd need to cut off the ones before it
its recursive.
oh woops missread
if darty(faggot)
{
stop(suck%100==(dick/69)%1488
{
return why(faggot/1488)+777
} post this;
} get
i never remember to use recursive functions outside of linked lists and trees
either way logic works for both, no reason to change it now
and the random number generation is at worst a little low on the odds
http://i.imgur.com/IYdd3vi.png I remember a DM tried to force this
made me sad
man