06.06.2015, 05:11
Well, It's useless to give you the code that I use for my GM. One because my GM is MySQL, and two because it just won't work with yours. What I do is, when the player connects, I change a variable on the player's record (for you, the player's file) called LastIP and have their last IP saved there. So when they logout and an admin uses /ocheck (offline check), they can see the last IP that was used to login. Then they can do whatever they want from there (cross-check IP's etc. etc.)