# Download Progress Bar Written by Snoop_911 # 3rd of May, 2001 # Timer to make glist pop up every 5 minutes timer -rep -1 300 glist # Change the number at the end for the window u want /glist to appear in ^assign GLIST_WIN 1 # Part of the Script that Displays the Progress Bar and Status on ^glist "*" { switch ($1) { (D) { if ([$match(\\ $9)]>[0]) { xecho -win $GLIST_WIN .57$0. Downloading .37: .52$after(-1 \\ $tr(/"//$9)) .57from .52$2 .57at .52$7k/s.-1 xecho -win $GLIST_WIN $progress_bar($8) } if ([$match(// $9)]>[0]) { xecho -win $GLIST_WIN .57$0. Downloading .37: .52$after(-1 // $tr(/"//$9)) .57from .52$2 .57at .52$7k/s.-1 xecho -win $GLIST_WIN $progress_bar($8) } { xecho -win $GLIST_WIN .57$0. Downloading .37: .52$tr(/"//$9) .57from .52$2 .57at .52$7k/s.-1 xecho -win $GLIST_WIN $progress_bar($8) } } (W) { xecho -win $GLIST_WIN .57$0. Waiting .37: .52$after(-1 \\ $tr(/"//$9)) .57from .52$2 .57at .52$7k/s.-1 } (U) { if ([$match(\\ $9)]>[0]) { xecho -win $GLIST_WIN .57$0. Uploading .37: .52$after(-1 \\ $tr(/"//$9)) .57to .52$2 .57at .52$7k/s.-1 xecho -win $GLIST_WIN $progress_bar($8) } if ([$match(// $9)]>[0]) { xecho -win $GLIST_WIN .57$0. Uploading .37: .52$after(-1 // $tr(/"//$9)) .57to .52$2 .57at .52$7k/s.-1 xecho -win $GLIST_WIN $progress_bar($8) } { xecho -win $GLIST_WIN .57$0. Uploading .37: .52$tr(/"//$9) .57to .52$2 .57at .52$7k/s.-1 xecho -win $GLIST_WIN $progress_bar($8) } } } } # Part of the Script that Creates the Progress Bar alias PROGRESS_BAR (progress, void) { switch ($tr(/%//$before(1 . $progress))) { (0) { @ function_return = [.560%.57.,41|.,40-------------------------|-------------------------|.56100%.-1 $progress] } (1) { @ function_return = [.560%.57.,41|-.,40------------------------|-------------------------|.56100%.-1 $progress] } (2)(3) { @ function_return = [.560%.57.,41|--.,40-----------------------|-------------------------|.56100%.-1 $progress] } (4)(5) { @ function_return = [.560%.57.,41|---.,40----------------------|-------------------------|.56100%.-1 $progress] } (6)(7) { @ function_return = [.560%.57.,41|----.,40---------------------|-------------------------|.56100%.-1 $progress] } (8)(9) { @ function_return = [.560%.57.,41|-----.,40--------------------|-------------------------|.56100%.-1 $progress] } (10)(11) { @ function_return = [.560%.57.,41|------.,40-------------------|-------------------------|.56100%.-1 $progress] } (12)(13) { @ function_return = [.560%.57.,41|-------.,40------------------|-------------------------|.56100%.-1 $progress] } (14)(15) { @ function_return = [.560%.57.,41|--------.,40-----------------|-------------------------|.56100%.-1 $progress] } (16)(17) { @ function_return = [.560%.57.,41|---------.,40----------------|-------------------------|.56100%.-1 $progress] } (18)(19) { @ function_return = [.560%.57.,41|----------.,40---------------|-------------------------|.56100%.-1 $progress] } (20)(21) { @ function_return = [.560%.57.,41|-----------.,40--------------|-------------------------|.56100%.-1 $progress] } (22)(23) { @ function_return = [.560%.57.,41|------------.,40-------------|-------------------------|.56100%.-1 $progress] } (24)(25) { @ function_return = [.560%.57.,41|-------------.,40------------|-------------------------|.56100%.-1 $progress] } (26)(27) { @ function_return = [.560%.57.,41|--------------.,40-----------|-------------------------|.56100%.-1 $progress] } (28)(29) { @ function_return = [.560%.57.,41|---------------.,40----------|-------------------------|.56100%.-1 $progress] } (30)(31) { @ function_return = [.560%.57.,41|----------------.,40---------|-------------------------|.56100%.-1 $progress] } (32)(33) { @ function_return = [.560%.57.,41|-----------------.,40--------|-------------------------|.56100%.-1 $progress] } (34)(35) { @ function_return = [.560%.57.,41|------------------.,40-------|-------------------------|.56100%.-1 $progress] } (36)(37) { @ function_return = [.560%.57.,41|-------------------.,40------|-------------------------|.56100%.-1 $progress] } (38)(39) { @ function_return = [.560%.57.,41|--------------------.,40-----|-------------------------|.56100%.-1 $progress] } (40)(41) { @ function_return = [.560%.57.,41|---------------------.,40----|-------------------------|.56100%.-1 $progress] } (42)(43) { @ function_return = [.560%.57.,41|----------------------.,40---|-------------------------|.56100%.-1 $progress] } (44)(45) { @ function_return = [.560%.57.,41|-----------------------.,40--|-------------------------|.56100%.-1 $progress] } (46)(47) { @ function_return = [.560%.57.,41|------------------------.,40-|-------------------------|.56100%.-1 $progress] } (48)(49) { @ function_return = [.560%.57.,41|-------------------------.,40|-------------------------|.56100%.-1 $progress] } (50)(51) { @ function_return = [.560%.57.,41|-------------------------|.,40-------------------------|.56100%.-1 $progress] } (52)(53) { @ function_return = [.560%.57.,41|-------------------------|-.,40------------------------|.56100%.-1 $progress] } (54)(55) { @ function_return = [.560%.57.,41|-------------------------|--.,40-----------------------|.56100%.-1 $progress] } (56)(57) { @ function_return = [.560%.57.,41|-------------------------|---.,40----------------------|.56100%.-1 $progress] } (58)(59) { @ function_return = [.560%.57.,41|-------------------------|----.,40---------------------|.56100%.-1 $progress] } (60)(61) { @ function_return = [.560%.57.,41|-------------------------|-----.,40--------------------|.56100%.-1 $progress] } (62)(63) { @ function_return = [.560%.57.,41|-------------------------|------.,40-------------------|.56100%.-1 $progress] } (64)(65) { @ function_return = [.560%.57.,41|-------------------------|-------.,40------------------|.56100%.-1 $progress] } (66)(67) { @ function_return = [.560%.57.,41|-------------------------|--------.,40-----------------|.56100%.-1 $progress] } (68)(69) { @ function_return = [.560%.57.,41|-------------------------|---------.,40----------------|.56100%.-1 $progress] } (70)(71) { @ function_return = [.560%.57.,41|-------------------------|----------.,40---------------|.56100%.-1 $progress] } (72)(73) { @ function_return = [.560%.57.,41|-------------------------|-----------.,40--------------|.56100%.-1 $progress] } (74)(75) { @ function_return = [.560%.57.,41|-------------------------|------------.,40-------------|.56100%.-1 $progress] } (76)(77) { @ function_return = [.560%.57.,41|-------------------------|-------------.,40------------|.56100%.-1 $progress] } (78)(79) { @ function_return = [.560%.57.,41|-------------------------|--------------.,40-----------|.56100%.-1 $progress] } (80)(81) { @ function_return = [.560%.57.,41|-------------------------|---------------.,40----------|.56100%.-1 $progress] } (82)(83) { @ function_return = [.560%.57.,41|-------------------------|----------------.,40---------|.56100%.-1 $progress] } (84)(85) { @ function_return = [.560%.57.,41|-------------------------|-----------------.,40--------|.56100%.-1 $progress] } (86)(87) { @ function_return = [.560%.57.,41|-------------------------|------------------.,40-------|.56100%.-1 $progress] } (88)(89) { @ function_return = [.560%.57.,41|-------------------------|-------------------.,40------|.56100%.-1 $progress] } (90)(91) { @ function_return = [.560%.57.,41|-------------------------|--------------------.,40-----|.56100%.-1 $progress] } (92)(93) { @ function_return = [.560%.57.,41|-------------------------|---------------------.,40----|.56100%.-1 $progress] } (94)(95) { @ function_return = [.560%.57.,41|-------------------------|----------------------.,40---|.56100%.-1 $progress] } (96)(97) { @ function_return = [.560%.57.,41|-------------------------|-----------------------.,40--|.56100%.-1 $progress] } (98)(99) { @ function_return = [.560%.57.,41|-------------------------|------------------------.,40-|.56100%.-1 $progress] } (100) { @ function_return = [.560%.57.,41|-------------------------|-------------------------|.,40.56100%.-1 $progress] } } } xecho -b Download Progress Bar By Snoop_911 Is Loaded And Will Display In Window $GLIST_WIN # The End