Skip to content
← Back to Community
GLOBAL REPL COUNTER
Profile icon
CoolJames1610

I love MongoDb so I've created this!

Inspired by all the Discord counting bots XD

Please use your repl username :D - HAS TO BE ONE WORD OTHERWISE IT WILL BREAK!

Every 100 counts, the number will be highlighted and as a reward, I'll upvote 5 of your projects/comments :D

It will also highlight if it is your repl username :D

Please upvote so more people can join!

If there is one thing I'm not sure about, is what happens if two people enter same value at the same time...

Might implement cool down - not sure yet :)

Hopefully, this gets onto featured so that everyone can HELP COUNT

Goal: 1000 counts
Voters
Profile icon
novalynxie
Profile icon
zplusfour
Profile icon
VulcanWM
Profile icon
elijahnik1
Profile icon
DynamicSquid
Profile icon
MarcusWeinberger
Profile icon
AtticusKuhn
Profile icon
TonyLane
Profile icon
syflexer
Profile icon
ZacPlayz
Comments
hotnewtop
Profile icon
ZacPlayz

Upvoted!!!! LOVE IT KEEP UP THE GOOD WORK!!

Profile icon
CoolJames1610

ahaha thanks - trying to create a chat system using same stuff :D @ZacPlayz

Profile icon
CoolJames1610

but where is the upvote? o.O @ZacPlayz

Profile icon
ZacPlayz

@CoolJames1610 HERE is da upvote... XD

Profile icon
CoolJames1610
Profile icon
VulcanWM

Can you make something like this for me? I have tried forking, but that continues from all the people that counted here. I want it to start from 0.

Profile icon
CoolJames1610

Yes sure! @medcho

Profile icon
CoolJames1610

Do you want it to be exactly the same? @medcho

Profile icon
VulcanWM

Can you just write enter you username instead of repl useername? @CoolJames1610

Profile icon
CoolJames1610
Profile icon
CoolJames1610

Do you want it to be connected to a database? @medcho

Profile icon
VulcanWM

What do you mean? @CoolJames1610

Profile icon
CoolJames1610

For people to be able to see other people's counts, it is connected to an online database - just fork my project and remove connection string and everything to do with the database - but what exactly do you want it for? @medcho

Profile icon
VulcanWM

I want to put it on my website and see how many counts it gets and then I will give out 20 circuits for every 100 like you did @CoolJames1610

Profile icon
CoolJames1610

ah okay lemme fork my own project and do it :D @medcho

Profile icon
CoolJames1610

fork my project then invite me to it @medcho

Profile icon
VulcanWM
Profile icon
VulcanWM
Profile icon
CodingCactus

the thing with normal countery things, is that you can't count consecutive numbers yourself (i saw quite a few by dynamic squid and it isn't supposed to be allowed) Obviously, you can do it however you want, as it is yours lol

Profile icon
CoolJames1610

No no-one is supposed to. When it goes through the counting from the database, a variable name is the last name on the list. If your repl username (or the one who inputted) is = to name then it doesn't allow you. But people can obviously fork and change the code XD @CodingCactus

Profile icon
HackermonDev

We can see the MongoDB username and password file.

Profile icon
CoolJames1610

Yeah I know. I'm gonna create a new user for everyone and hide my details XD @PDanielY

Profile icon
DynamicSquid
Profile icon
CoolJames1610

ahahah nice! @DynamicSquid

Profile icon
CoolJames1610

hmmm 93 to 100 all - @DynamicSquid XD

Profile icon
DynamicSquid

@CoolJames1610 uh... is that cheating?

Profile icon
CoolJames1610
Profile icon
DynamicSquid

@CoolJames1610 Oh, actually, I think someone glitched the system first, and that allowed me to have 7 counts in a row.

Profile icon
CoolJames1610

It happens when ppl fork. I caugt one guy and had to change user lol @DynamicSquid

Profile icon
DynamicSquid
Profile icon
Codemonkey51

Hrmmmmmm someone glitched it I wonder who? @DynamicSquid

Profile icon
DynamicSquid

Oh wow this is actually pretty cool!

Profile icon
CoolJames1610
Profile icon
Kopamed

@CoolJames1610 line 48, local variable mentioned before assignment

Screenshot 2020-05-17 at 09.17.53

Profile icon
CoolJames1610

thanks ill look into it @Kopamed

Profile icon
NoelB33
Profile icon
CoolJames1610

XD ill look into it @NoelBryan

Profile icon
syflexer

Am i aloud to put in my user name as many times as i want or no is there a rule about spamming it or no

Profile icon
CoolJames1610

Well, if u use the same name then you cannot put a number straight after, but you can re-run and use a different name :D @syflexer

Profile icon
Bookie0

Noice!

Profile icon
CoolJames1610

Thanks :D @Bookie0

Profile icon
Bookie0
Profile icon
ChezTacoz
Profile icon
CoolJames1610

It's fixed now :) Someone put their repl username as:
what happens if I use a fake name
lol XD thanks!
@ChezTacoz

Profile icon
ChezTacoz
Profile icon
IlyaMikheev

I'm not sure, but i think someone broke the entire project...
Снимок22

Profile icon
CoolJames1610

Yeah, that happens when someone's username is more than one entry - e.g. Cool James Ill go in database and fix it :) @IlyaMikheev

Profile icon
CoolJames1610

fixed lol - their name was:
I wonder what happens if I use a fake name
@IlyaMikheev

Profile icon
ChezTacoz

What does this do? I'm so confused

Profile icon
CoolJames1610

It's just a counting program - if you have ever had a discord counting bot, then its like that :) @ChezTacoz

Profile icon
ChezTacoz

@CoolJames1610 but what does it count

Profile icon
CoolJames1610

It's just a joint effort of everyone to count upwards from 1 to infinity! :D @ChezTacoz

Profile icon
ChezTacoz

@CoolJames1610 so if I put my repl.it username in it adds to the count

Profile icon
CoolJames1610

so, you enter your repl username and just insert whatever the next count is :D - which is 27 @ChezTacoz

Profile icon
CoolJames1610
Profile icon
firefish

I'm count 21. I entered my username.

Profile icon
CoolJames1610

nice! pls upvote :D @johnstev111

Profile icon
CoolJames1610
Profile icon
NoelB33
Profile icon
CoolJames1610

:D i saw you on my database ;) @NoelBryan

Profile icon
NoelB33
Profile icon
[deleted]

actually the hehe one is me

Profile icon
CoolJames1610

lol XD @Zuhdi28

Profile icon
CoolJames1610

it doesnt matter XD @Zuhdi28

Profile icon
[deleted]

@CoolJames1610 so i can make fake people now?

Profile icon
CoolJames1610

yeah technically. I haven't found a way to authenticate to make sure that u r using ur repl username :( @Zuhdi28

Profile icon
[deleted]

@CoolJames1610 oh, YAY!
i think you can import repltalk but i can't use it..
ask @Codemonkey51 !

Profile icon
CoolJames1610

Okay will do :D @Zuhdi28

Profile icon
[deleted]
Profile icon
firefish

@CoolJames1610 I did use my username... I'm count 21

Profile icon
CoolJames1610
Profile icon
firefish

@CoolJames1610 Well... It did highlight red for me just after I entered the number 21

Profile icon
CoolJames1610

yeah its supposed to :D @johnstev111

Profile icon
firefish
Profile icon
[deleted]

wow how do you make it global?

Profile icon
CoolJames1610

using MongoDB - its a database :) @Zuhdi28

Profile icon
[deleted]

@CoolJames1610 wow!
make a tutorial for it

Profile icon
CoolJames1610

ahahaha theres already some out there but I might do one :D @Zuhdi28

Profile icon
[deleted]
Profile icon
CoolJames1610

lol XD @Zuhdi28

Profile icon
[deleted]

@CoolJames1610 xdxdxdxdxdxxdxdxd

Profile icon
CoolJames1610

people keep forking it and hacking ugh XD

Profile icon
CoolJames1610
Profile icon
CoolJames1610

@hg0428 YOU CHEATER! YOU FORKED THE REPL AND CHANGED THE CODE AHHHHHH

Profile icon
hg0428

I made it equal to may use name instead of input and had it automatically type in the right [email protected]

Profile icon
CoolJames1610

yes ik i saw ur profile @hg0428

Profile icon
CoolJames1610

@codingCactus heyyy :D