hi guys. I have a question / request.
I want to be able to addup the users total online time in a channel. not thier idle time for each connect / disconnect but like the user joins - userfile entry is created (I already have the adding to userfile done)
Then the user gets a timestart entry in the userlist - then on part - timestop then the eggie looks at those times - add's one to the other and gives a result, say of 1hour 3 minutes. then sets xtra totaltime to 1 hour 3 minuts.
The next time the user joins, it starts again. when he leaves it takes this amount of time online this session - does the adding to get say 3 minutes . then add's the 3 minutes to the totaltime of 1 hour 3 minutes - add's them together and then readd's totaltime as 1 hour 6 minutes.
Can someone help with this please.
Kind Regards
Jamie