Yes, that can be done.
Not in GripPB but in storedvalue.dbs
DriftPB = Storing driftscores (file can only be handled by Lapper it self)
GripPB = Storing laptimes (file can only be handled by Lapper it self)
storedvalue = Storing everything a user wants to store
globalMsg means sending a message to every player and since it is in the OnConnect event, it means that it sends a message to all connected players at the moment a new player connects.
Have a look in the Lapper section to find several scripts how to deal with saving and retrieving values.
I already made a registration system for Lapper.
This doesn't do anything with IP addresses, but if you understand the code, it wouldn't be too hard to include that.
See this posting for the actual script: https://www.lfs.net/forum/post/1921021#post1921021
-May i ask, in which server this script is gonna be used?
-if you guys have a proper Demo license, why dont i see any progress in your online stats. I assume you having a cracked LFS. or show me that i'm wrong.
We are not going to help any players with a Cracked version of LFS.
So,Buy LFS and enjoy the legal content. And get more help with Lapper etc.
The code below can be used in a seperate Lapper module (see included file) and will save the IP Adress of a player when he joins the track.
As you can see, there are two ways of getting the IPAdress, by either using the CurrentPlayer variable as well as reading any players variable using PlayerVar combined with the username.
The screenshot is to proof that the data is actualy stored in the Lapper database.
CatchEvent OnNewPlayerJoin( $userName ) # Player event OnNewPlayerJoin_IP_Saving(); EndCatchEvent