find player IP's when not connected
#1

hello

Im trying to make an IRC command which shows all used IP's by 1 player, for example:
!playerips [Ask]Sk8er
> IP's used by [Ask]Sk8er: ..., ..., ...

I made a command that shows the player's ip only when he is in-game. And this command should find the IP from a text file in my server's directory which includes all joined players with their ip's..

Here is the code for my ip finding command, dnno if it's usefull for what I wanna do, can some1 gives some hints and tips plz? D:

http://pastebin.com/PQyF5khB
Reply
#2

When the player leaves, make a function which gets his IP and saves it to a file(for example).
Reply
#3

Save every players IP after he log's in and then just check it with dini/yini/fopen
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)