Old 11-09-2003, 08:42 AM   #1
ViNcE
Junior Member
 
Join Date: May 2003
Posts: 25
Cool iTCLWHO v1.1

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
ViNcE is offline   Reply With Quote
Old 11-09-2003, 02:06 PM   #2
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Smile

bahg!*

u beat me to it.
b>d>>s is offline   Reply With Quote
Old 11-09-2003, 04:11 PM   #3
dudu
Junior Member
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 17
Default

ViNcE
Congrats
This script is awesome
specially the open|close part

530 Site is closed since 9s (maintenance), try again later.
dudu is offline   Reply With Quote
Old 11-09-2003, 10:56 PM   #4
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default

yeh, now that one is really usefull

gr8 job buddy
Guardian is offline   Reply With Quote
Old 11-09-2003, 11:35 PM   #5
schmacko
Junior Member
 
Join Date: Jun 2003
Posts: 19
Default

nice work, will come in handy
schmacko is offline   Reply With Quote
Old 11-10-2003, 09:46 AM   #6
dudu
Junior Member
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 17
Default

"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
dudu is offline   Reply With Quote
Old 11-27-2003, 06:00 AM   #7
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

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.
toki is offline   Reply With Quote
Old 11-29-2003, 08:41 PM   #8
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

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.
odd is offline   Reply With Quote
Old 11-30-2003, 12:37 AM   #9
stLancer_2
Member
 
Join Date: Aug 2003
Posts: 58
Default

so nice, i like this script.
stLancer_2 is offline   Reply With Quote
Old 01-11-2004, 04:06 PM   #10
Sersen
Junior Member
 
Join Date: Jan 2004
Posts: 25
Question just a question

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
Sersen is offline   Reply With Quote
Old 04-08-2004, 11:19 PM   #11
iLOVEsanny
Junior Member
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 5
Default error

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 !?
iLOVEsanny is offline   Reply With Quote
Old 04-09-2004, 01:08 AM   #12
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
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.
mr_F_2 is offline   Reply With Quote
Old 04-09-2004, 03:27 AM   #13
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

mr_F: If you read the date of odd's post, it was well before OCScript was written.

Quote:
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.
neoxed is offline   Reply With Quote
Old 04-09-2004, 10:52 AM   #14
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

my bad
mr_F_2 is offline   Reply With Quote
Old 04-14-2004, 05:20 AM   #15
sHAD__
Junior Member
 
Join Date: Aug 2003
Posts: 7
Default

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
sHAD__ is offline   Reply With Quote
Reply

Tags
close, download, give, site, upload

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:42 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)