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.

Tcl Help Question

Old posts that have not been replied to for several years.
Locked
s
snow-ball
Voice
Posts: 22
Joined: Fri Oct 26, 2001 8:00 pm

Tcl Help Question

Post by snow-ball »

Hi

Any ideas how to check how many time the user is on the channel ?


thank you
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Consult the tcl-commands.doc file for the getchanidle and read it's coments.
Once the game is over, the king and the pawn go back in the same box.
c
crazy-nic
Voice
Posts: 19
Joined: Wed Jul 02, 2003 12:44 am

Post by crazy-nic »

where can i get the file? tcl-commands.doc
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

in your docs/ dir of your eggdrop's directory.
s
snow-ball
Voice
Posts: 22
Joined: Fri Oct 26, 2001 8:00 pm

Post by snow-ball »

caesar wrote:Consult the tcl-commands.doc file for the getchanidle and read it's coments.
Hi

But that command is for check the idle.

I am doing a stats tcl, but i dont know how to calculate how many minutes the user is in the channel.

tks for u reply
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What exactly do you want to count? How many minutes he had from joining the channel and the moment of when the stats are made (assuming the user is still on the channel)? Is this what you want? If yes, the see getchanjoin. then user something like: actual time - that result.. something like this anyway should do the trick.
Once the game is over, the king and the pawn go back in the same box.
Locked