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.

Counting users :)

Old posts that have not been replied to for several years.
Locked
L
LaMpiR
Voice
Posts: 21
Joined: Sun Nov 21, 2004 8:55 am

Counting users :)

Post by LaMpiR »

Hi! I need a script that will count users every minute and publish it to html page. Just number of users of one channel :)
tnx :)
L
LaMpiR
Voice
Posts: 21
Joined: Sun Nov 21, 2004 8:55 am

Post by LaMpiR »

Anyone ?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

bind time - * {exec echo [llength [chanlist #chan]] >users.html;#}
L
LaMpiR
Voice
Posts: 21
Joined: Sun Nov 21, 2004 8:55 am

Post by LaMpiR »

Tcl error [exec echo [llength [chanlist #chat]] >public_html/users.html;#]: couldn't write file "public_html/users.html": no such file or directory
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

specify an existing directory dude
L
LaMpiR
Voice
Posts: 21
Joined: Sun Nov 21, 2004 8:55 am

Post by LaMpiR »

tnx, it just needed restart :)
Locked