Message from @Pence Bot

Discord ID: 291621794094383104


2017-03-15 17:19:14 UTC  

p!check'em

2017-03-15 17:19:15 UTC  

p!check'em

2017-03-15 17:19:16 UTC  

DONT SPAM THE GENERAL PLEASE

2017-03-15 17:19:21 UTC  

p!check'em If trips, we crowdfund a helicopter

2017-03-15 17:19:26 UTC  

also bots run on a max bandwidth

2017-03-15 17:19:26 UTC  

wowruip

2017-03-15 17:19:27 UTC  

Rip bot.

2017-03-15 17:19:31 UTC  

RIP

2017-03-15 17:19:32 UTC  

it'll catch up

2017-03-15 17:19:36 UTC  

it's just you triggered it

2017-03-15 17:19:38 UTC  

Still though, don't spam general.

2017-03-15 17:19:58 UTC  

9217917886
Faggot.

2017-03-15 17:19:58 UTC  

8269507627
Faggot.

2017-03-15 17:19:58 UTC  

6679708583
Faggot.

2017-03-15 17:19:58 UTC  

8250162165
Faggot.

2017-03-15 17:19:59 UTC  

8090911906
Faggot.

2017-03-15 17:20:13 UTC  

That's a lot of Faggots

2017-03-15 17:20:15 UTC  

p!check'em if gets, then we listen to @Verm

2017-03-15 17:20:15 UTC  

What are you using to generate the numbers though

2017-03-15 17:20:30 UTC  

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

2017-03-15 17:20:53 UTC  

9423524859
Faggot.

2017-03-15 17:21:47 UTC  

> makes a bot to generate imageboard style post numbers
> numbers are completely randomized and are not actually post numbers

2017-03-15 17:21:52 UTC  

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

2017-03-15 17:22:32 UTC  

Why not just generate a random number between 1000000 and 9999999?

2017-03-15 17:22:38 UTC  

the individual numbers are just (int)(Math.Random()*10)

2017-03-15 17:22:55 UTC  

and because then to check how many repeating I'd need to do a looot more modulus logic

2017-03-15 17:23:12 UTC  

same amount of work this just came into my head first

2017-03-15 17:23:24 UTC  

same accuracy too

2017-03-15 17:24:30 UTC  
2017-03-15 17:24:49 UTC  

int rep(int digits)
{
if(digits%10==(digits/10)%10)
{
return reps(digits/10)+1;
}
return 0;
}

2017-03-15 17:25:53 UTC  

that would only check 2 digits out of the list and you'd need to cut off the ones before it

2017-03-15 17:26:06 UTC  

its recursive.

2017-03-15 17:26:16 UTC  

oh woops missread

2017-03-15 17:26:46 UTC  

if darty(faggot)
{
stop(suck%100==(dick/69)%1488
{
return why(faggot/1488)+777
} post this;
} get

2017-03-15 17:26:54 UTC  

i never remember to use recursive functions outside of linked lists and trees

2017-03-15 17:27:40 UTC  

either way logic works for both, no reason to change it now

2017-03-15 17:28:04 UTC  

and the random number generation is at worst a little low on the odds

2017-03-15 17:29:00 UTC  

http://i.imgur.com/IYdd3vi.png I remember a DM tried to force this
made me sad

2017-03-15 17:29:43 UTC  

man