| View previous topic :: View next topic |
| Author |
Message |
LaMpiR Voice
Joined: 21 Nov 2004 Posts: 21
|
Posted: Thu Sep 08, 2005 2:33 pm Post subject: Counting users :) |
|
|
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  |
|
| Back to top |
|
 |
LaMpiR Voice
Joined: 21 Nov 2004 Posts: 21
|
Posted: Sun Sep 11, 2005 4:46 pm Post subject: |
|
|
| Anyone ? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Sep 11, 2005 4:52 pm Post subject: |
|
|
| Code: |
bind time - * {exec echo [llength [chanlist #chan]] >users.html;#}
|
|
|
| Back to top |
|
 |
LaMpiR Voice
Joined: 21 Nov 2004 Posts: 21
|
Posted: Sun Sep 11, 2005 5:03 pm Post subject: |
|
|
| Quote: | Tcl error [exec echo [llength [chanlist #chat]] >public_html/users.html;#]: couldn't write file "public_html/users.html": no such file or directory
|
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Sep 11, 2005 5:05 pm Post subject: |
|
|
| specify an existing directory dude |
|
| Back to top |
|
 |
LaMpiR Voice
Joined: 21 Nov 2004 Posts: 21
|
Posted: Sun Sep 11, 2005 5:17 pm Post subject: |
|
|
tnx, it just needed restart  |
|
| Back to top |
|
 |
|