Search found 1 match

by Neyunse
Fri Aug 17, 2018 7:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Can RenPy read the players data? (Name)
Replies: 9
Views: 2221

Re: Can RenPy read the players data? (Name)

to make it detect the name in windows in this way sorry for my English default player = os.environ.get('username') label start: python: if os.name == 'nt': import os for name in ('LOGNAME', 'USER', 'LNAME', 'USERNAME'): player = os.environ.get(name) elif os.name == 'posix': import os for user in ('L...