PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: sander815 on 18 February, 2005, 22:05:39

Title: [req] user info log script
Post by: sander815 on 18 February, 2005, 22:05:39
i would like a script that logs userinfo to a text file for a certain time period, with ipnumber, sharesize, time of lgin etc.
so when you send !reginfo to that bot, it answers with something like this:
userinfo for
1-2-05/10:21  ip: 12.12.12.12 sharesize: 50 Gb
2-2-05/23:31  ip: 12.12.12.12 sharesize: 40 Gb
5-2-05/13:31  ip: 12.12.12.12 sharesize: 43 Gb
2-2-05/12:21  ip: 12.12.12.12 sharesize: 410 Gb
etc

maybe something already exists?
Title:
Post by: TTB on 19 February, 2005, 22:26:15
Try Stat-logger 0.2 by Troubadour...
Title:
Post by: sander815 on 21 February, 2005, 10:06:52
i just tested this script, worx fine, but i need it user based, not a daily log. So i can easily see the users sharesize over a certain period
Title:
Post by: TTB on 21 February, 2005, 15:04:42
Hi,

well... then u need a script where all logins are logged in 1 file, en then u need a search function in it... Or every user will have it's own log file...

Maybe something excists like that... dunno
Title:
Post by: bastya_elvtars on 21 February, 2005, 15:58:51
I hate self-commercial, but lawmaker logs users' myinfos, IPs and last exit time. Maybe you will make use of that feature if you decide to use lm.
Title:
Post by: sander815 on 21 February, 2005, 16:19:03
QuoteOriginally posted by TTB
Hi,

well... then u need a script where all logins are logged in 1 file, en then u need a search function in it... Or every user will have it's own log file...

Maybe something excists like that... dunno

io think a log file per user is best option...its not a super large hub, 100 max users
Title:
Post by: sander815 on 21 February, 2005, 16:23:57
i just also tried offline userinfo by nightlitch: worx fine, but it only logs the info when the user logs off, and only keep that last info, older info is lost. I want to keep info for a certain time period(month or so)

maybe this one can be edited to keep older info?

http://board.univ-angers.fr/thread.php?threadid=1453&boardid=12&sid=17255739a0f5aa0de5150bea7fe38af5
Title:
Post by: sander815 on 22 February, 2005, 17:34:27
can any1 edit or create such a script?  would really appreciate it
Title:
Post by: sander815 on 28 February, 2005, 08:39:41
QuoteOriginally posted by sander815
i would like a script that logs userinfo to a text file for a certain time period, with ipnumber, sharesize, time of lgin etc.
so when you send !reginfo to that bot, it answers with something like this:
userinfo for
1-2-05/10:21  ip: 12.12.12.12 sharesize: 50 Gb
2-2-05/23:31  ip: 12.12.12.12 sharesize: 40 Gb
5-2-05/13:31  ip: 12.12.12.12 sharesize: 43 Gb
2-2-05/12:21  ip: 12.12.12.12 sharesize: 410 Gb
etc

maybe something already exists?

anyone? none of the existing scripts do what i need :(
Title:
Post by: sander815 on 12 March, 2005, 07:58:41
?