Ask coding questions

← Back to all posts
How to run some lines of commands any time?
RixTheTyrunt

I want to detect how words and letters there are, but the code only runs one time and then it doesn't run. How to make, that the detect will run any time? Or is it impossible using pure JavaScript?

EDIT:


I want to detect how many words and letters there are, but the code only runs one time and then it doesn't run. I want the code to be somethin' like this:

Voters
RixTheTyrunt
Comments
hotnewtop
DellWithGaming

I don't understand you question
could you explain it a little more

Coder100

you can use loops to run them multiple times, you can use setInterval to run ever x ms, and you can use functions to run through user inputs

RixTheTyrunt

Hmm... What do you mean?

RixTheTyrunt

Pleaz giw mii af comaand

Coder100

@SnackyPlusPlus what do you even want to do