Ask coding questions

← Back to all posts
Getting repl username?
HayIsForHorses

I was trying to find out how to get the username of the player running the repl. I saw a past post about this and the answer was not possible, but it was long ago, as I said. Is there a way to do it now?

Answered by emilyDoesPascal [earned 5 cycles]
View Answer
Voters
HayIsForHorses
Comments
hotnewtop
emilyDoesPascal

It is still not possible

HayIsForHorses
Spacecraft

Sure, you can do this in Python. This will return the username of the person who is running the REPL. Try this out:

ShivankChhaya