This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

nick online counter ...

Old posts that have not been replied to for several years.
t
tcl-idiot

Post by tcl-idiot »

is there a script that can count the time spent by a nick inside a channel ? and stop the counter when the nick leaves and resume the time-spent when the nick joins the channel again ?

- need help. thx
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Not sure if there are any suitable scripts in the tcl archive, but I wrote such a script for someone privately a couple of years back. I'll have to ask permission before I can release it publicly, assuming I can get in contact with the guy I wrote it for.
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

I too, would be seriously interested in a copy of that script if its at all possible Slennox.

I keep meaning to write something, but havent had the time or energy :smile:

I need it to monitor the time spent on duty in #Help by our Sysops on our chat server lol

Be grateful if its possible.

Regards

Ian-Highlander
"Insanity Takes Its Toll, Please Have Exact Change"
K
KID

Post by KID »

http://www.visions-of-fantasy.de/stats.mod/
this module works and do what u want ...
t
tcl-idiot

Post by tcl-idiot »

On 2002-05-01 15:26, slennox wrote:
Not sure if there are any suitable scripts in the tcl archive, but I wrote such a script for someone privately a couple of years back. I'll have to ask permission before I can release it publicly, assuming I can get in contact with the guy I wrote it for.
slennox -- that would be great -- i really needed some kind of script for such - i would really appreciate all the help.

thx in advance :smile:
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Unfortunately, the two e-mail addresses I had on record for him bounced. It's been two years since I've been in contact with the guy.

I thought I found him on DALnet yesterday, but wasn't sure whether it was actually him or if he's replaced himself with a bot. Might try again today.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

If you guys can give some specifics about what the script should do, I can probably write it.

Things you should include are commands you want, features you want (*specific features*), whether it should be multi-channel or single channel, should it track all nicks, or just nicks you specify, or just users on the bot... stuff like that.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

I sat my client on the DALnet channel the guy is in all day today (enduring copious amounts of colours and over a dozen spam and a/s/l request messages) but didn't hear a peep from him.

Which is unfortunate... for stdragon :grin:
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

Oh, and slennox............a/s/l/ ??? :wink:
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

Hi St,

All I would like the script to do is monitor up to 10 different nicknames (maximum) in one channel, purely for time spent in channel. This can be written to a text file or a couple of basic commands like .timestats <nick> or .timeon <nick> or something.
Preferably, the time stats would be reset on a weekly basis with the previous week being stored as a total in a file/variable that could be called with another command to view overall. (or if you're really feeling ambitious, how about calling the stats by w/e date ;P)

Anyway, if you do get a chance to look at this it would be great.

Cheers

Ian-Highlander
"Insanity Takes Its Toll, Please Have Exact Change"
C
ClubCX
Voice
Posts: 35
Joined: Mon Nov 19, 2001 8:00 pm
Location: Bournemouth, UK
Contact:

Post by ClubCX »

As I re-call, StormBot has those extensive statistics you were seek-ing. Perhaps you could obtain permission to isolate that part of the script for your use.
t
tcl-idiot

Post by tcl-idiot »

On 2002-05-02 18:32, stdragon wrote:
If you guys can give some specifics about what the script should do, I can probably write it.

Things you should include are commands you want, features you want (*specific features*), whether it should be multi-channel or single channel, should it track all nicks, or just nicks you specify, or just users on the bot... stuff like that.
i was looking for something like when a nick comes in the channel add (or make record if first time seen) the time he/she spends online and stop the online-counter when he/she leaves and append again when he/she joins back -- but i wanted the data to be recorded for the NICK and not by its hostmask ... thus, if there's NICK change it will again be a different person and a new record or if the nick change matches one that already is in the records it will append the ONLINE-TIMER to that nick instead.

-- a simple file will be fine coz im making this as a webpage using PHP. -- example data format:
-----------------------
NICK1:TIME-SPENT
NICK2:TIME-SPENT
NICK3:TIME-SPENT
-----------------------

something like that ...



thx in advance !

<font size=-1>[ This Message was edited by: tcl-idiot on 2002-05-03 17:08 ]</font>
Q
Quasimodo
Voice
Posts: 11
Joined: Mon Sep 24, 2001 8:00 pm

Post by Quasimodo »

Hello guys,
I'm looking for this script too. In my oppinion it should be able to check the nick against its mask and/or ident, the count should be made by day in minutes per nick, it should have the option to add/remove the nick in party line and channel, it should support multichannels but the stat should be show channel specific. Every user should be able to use it, to show its stat. Now the output should look like:

For one channel one nick
Nick added by Master
#channel
05-05-2002 200
05-06-2002 700
...
Total 10 days 900

For more than one channels
Nick added by Master
#channel1
The average for the last XX days is 875
#channel2
The average for the last XX days is 1200

Use channel specific for more details.
!stats <period> <channel>

For no nick given (owner only) one channel

#channel
Nick1 30 days 700
Nick2 15 days 750

For no nick given (owner only) multiple channels

#channel1
Nick1 30 days 700
#channel2
Nick1 15 days 500
Nick2 17 days 600
____________________________


The input:
- for owners/masters (of bots/channels)
!stats <nick> <period> <channels>
were:
nick - is the nick's stat. If no nick are given it should show the total average of all nicks for the period or from start.
period - the number of days for which we request the stat like 3 mean the last 3 days. If no period is given it should show all days from start for that nick.
channels - it should be only 1 channel or all
- for nick
!stats <period> <channels>
like above except that the max period should be the last month
!statsadd <nick> <host/mask>
it should support multiple hosts/mask/ips like !statsadd Nero *!neroident@dial*.dom.com Nero!*@192.168.4.10
!statsdel <nick>
!statsprohibit on/off should let only the owner/masters use it.
Maybe other like:
!statstop10
!statslower
Well this what i remember for now, i hope this isn't to hard to make.

Greetings
/Quasi
Q
Quasimodo
Voice
Posts: 11
Joined: Mon Sep 24, 2001 8:00 pm

Post by Quasimodo »

Hi,
stdragon have u found time to work at this script ?

/Quasi
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Ya I've started it, but I got caught up in some other stuff too, so it may take a while to get done. I'll work on it some now, thanks for remindind me!
Locked