PDA

View Full Version : how to change !speed output ?


n01else
02-21-2004, 04:58 PM
is it posible to make this in one line

set ioss(t_speed_header) "-:[b]:[b] [c]$ioss(color1)Speed[c] [b]:[b]:- [b]%name[b]@%group" ;# Available cookies: %name %group
set ioss(t_speed_body_up) "-:[b]:[b] uppin' %current @ [b]%speed[b]kBps" ;# Available cookies: %current %speed
set ioss(t_speed_body_dn) "-:[b]:[b] leechin' %current @ [b]%speed[b]kBps" ;# Available cookies: %current %speed
set ioss(t_speed_body_idle) "-:[b]:[b] %name is idlin'" ;# Available cookies: %name


this now shows

-:: Speed ::- user@GRP
-:: user is idlin'
-----------------------------------------
-:: Speed ::- user@GRP
-:: uppin' /filename @ speedkBps
-----------------------------------------
-:: Speed ::- user@GRP
-:: leechin' /filename @ speedkBps

i wanna its to be like this :

-:: Speed ::- user@GRP - user is idlin'
----------------------------------------------
-:: Speed ::- user@GRP - Up: speedkBps
----------------------------------------------
-:: Speed ::- user@GRP - Dn: speedkBps

if someone can tell me how to change it pls do.
tnx

Harm
02-21-2004, 05:04 PM
You can do nearly anything using tcl.
In that case, you have to do several little changes in ioBanana.tcl.

Q: What would happen if the user is connected twice ?

n01else
02-21-2004, 05:11 PM
hmm if user will connect twice its could be look like this
-:: Speed ::- user@GRP - Up: speedkBps1 - speedkbps2
and if he is like 1 upload and one is idleing will be like this
-:: Speed ::- user@GRP - Up: speedkBps1 - user is idlin'
or Dn
-:: Speed ::- user@GRP - Dn: speedkBps1 - user is idlin'