View Full Version : iTCLWHO v1.0
ViNcE
11-09-2003, 08:42 AM
Hello !
iTCLWHO is as his name said... a site who in iTCL but with some extra commands ;)
Here are the specs.. :
- "Admin" commands :
¯¯¯¯¯¯¯¯¯¯¯¯ ¯Â¯Â¯Â¯Â¯Â¯Â¯
site grplogin - Set the amout of max logins a group can do, usage : site grplogin <group> <max logins>
site open - Open the site if it was closed
site close - Close the site (kick all users excepted admins & custom list of users/groups), usage : site close <reason>
- Note : reason is optional
¯¯¯¯¯¯
- "Public" commands :
¯¯¯¯¯¯¯¯¯¯¯¯ ¯Â¯Â¯Â¯Â¯Â¯Â¯
site who - Give normal site who
site swho - Give an advanced site who with cid, ident@ip & total online time.
- "Sitebot" commands :
¯¯¯¯¯¯¯¯¯¯¯¯ ¯Â¯Â¯Â¯Â¯Â¯Â¯Â¯
site bw - Give bandwitdh informations
site dn & site dn - Give a list of all users who are downloading/uploading
site idlers - Give a list of all users who are idling
site speed <user> - Give all current upload & download for the specified user
Download the attached file.
There is a readme.txt file where all is explained in ;)
Counter :
60 downloads of the v1.0
v1.1 11-10-2003 :
- Added: support of IRC announces for site close & site open (with dZSbot.tcl or equivalent).
Enjoy with it !
ViNcE
b>d>>s
11-09-2003, 02:06 PM
bahg!*
u beat me to it.
ViNcE
Congrats :)
This script is awesome
specially the open|close part
530 Site is closed since 9s (maintenance), try again later.
Guardian
11-09-2003, 10:56 PM
yeh, now that one is really usefull :D
gr8 job buddy
schmacko
11-09-2003, 11:35 PM
nice work, will come in handy
"site dn & site ul - Give a list of all users who are downloading/uploading"
An observation about that: actually the correct command is:
site up
Keep the good work :)
ps: would be nice if someone make a tcl script to announce on irc when the site open/close
Cya
what to type in scripts section to get an output? if i dont want this one to be default site who?
iwho = TCL ..\scripts\iTCLWHO\iTCLWHO.itcl
iwho = TCL ..\scripts\iTCLWHO\iTCLWHO.itcl who
does not work.
tryed your script and it looks nice. Realy like the "site close command" Would it be possible to have a script that only have these commands?
- "Admin" commands :
¯¯¯¯¯¯¯¯¯¯¯¯ ¯Â¯Â¯Â¯Â¯Â¯Â¯
site open - Open the site if it was closed
site close - Close the site (kick all users excepted admins & custom list of users/groups), usage : site close <reason>
- Note : reason is optional
¯¯¯¯¯¯
Or is it possible to disable the oter settings except the command abow?
Ive got a suggestion to the site close. Would be nice if it could display the 200-Site is now closed (no specified reason) for all the users that gets kicked. I know they will be informed when they try and login. Just a suggestion.
stLancer_2
11-30-2003, 12:37 AM
so nice, i like this script.:D
Sersen
01-11-2004, 04:06 PM
very nice script
just one question
if I do site swho
both swho will be shown from io and your script
how can I fix that only the one from script will be shown,didn´t find a way yet
using 5.4.3r
Output looks like this now:
List Complete: 1.299 bytes in 0,08 (1,27 KBps)
site swho
200- .-------------------------------------------------------------------------.
200- | CiD User Ident/IP Online Idle |
200- |-------+-----------+-------------------------------+----------+----------|
200- | 0 | users1 | *@127.0.0.1 | 3h 47m | |
200- | 1 | users1 | *@127.0.0.1 | 3h 47m | 3h 47m |
200- | 2 | users2 | *@127.0.0.1 | 3h 28m | 17m 38s |
200- | 3 | users2 | *@127.0.0.1 | 4s | 2s |
200- `-------+-----------+-------------------------------+----------+----------'
200- CID USER STATUS HOSTNAME
200- 0 users1 Idle *@localhost
200- 1 users1 Idle *@localhost
200- 2 users2 Up 32kb/s *@localhost
200- 3 users2 Idle *@localhost
200 swho Command successful.
thanks
bye
iLOVEsanny
04-08-2004, 11:19 PM
site who:
-------------------------------------------------------------------------------
can't read "msg": variable is array
while executing
"outwho "$cookies" "$msg""
invoked from within
"if {[info exists args]} {
if {[string match -nocase [lindex $args 1] "who"]} {
if { [client who init "UID" "STATUS" "TRANSFERSPEED" "TIMEIDLE" "VIR..."
(file "..\scripts\iTCLWHO\iTCLWHO.itcl" line 192)
-------------------------------------------------------------------------------
any idea !?
mr_F_2
04-09-2004, 01:08 AM
Originally posted by odd
tryed your script and it looks nice. Realy like the "site close command" Would it be possible to have a script that only have these commands?
- "Admin" commands :
¯¯¯¯¯¯¯¯¯¯¯¯ ¯Â¯Â¯Â¯Â¯Â¯Â¯
site open - Open the site if it was closed
site close - Close the site (kick all users excepted admins & custom list of users/groups), usage : site close <reason>
- Note : reason is optional
¯¯¯¯¯¯
Or is it possible to disable the oter settings except the command abow?
Ive got a suggestion to the site close. Would be nice if it could display the 200-Site is now closed (no specified reason) for all the users that gets kicked. I know they will be informed when they try and login. Just a suggestion.
UMMM
OCscript does this
http://www.ioftpd.com/scripts/script.php?id=57
and just out of curiosity, what does site open/close have to do with a site who script? i don't know why you included it in the package...espcecialyl when other scripts already do this
but nonetheless cool who script.
neoxed
04-09-2004, 03:27 AM
mr_F: If you read the date of odd's post, it was well before OCScript was written.
and just out of curiosity, what does site open/close have to do with a site who script? i don't know why you included it in the package...espcecialyl when other scripts already do this At the time, only ioBanana did.
mr_F_2
04-09-2004, 10:52 AM
my bad
sHAD__
04-14-2004, 05:20 AM
is it possible to include 2 more cookies in future versions,
"VIRTUALPATH" - to show virtual path user is in
"TRANSFERSIZE" - to show on a transfer, how much mb the user has transfered allready - Done: 7042KB
rocafella
05-26-2004, 06:08 PM
Could some one post this script, here or under ioftpd.com/scripts ? http://www.ioftpd.com/scripts/new_script.php
I asked the author on IRC to post it, and all I got as a response was "hmmm". I guess he no longer supports this script...
If someone else has this script lying around...could you please post it. :)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.