proggress bar - 18/07/03 02:07 AM
im makin a little proggress bar for my script but i have the code but it dont do the proggress right
could any one help me? =/
could any one help me? =/
Code:
alias line1 { set %line1 0 :loop /drawline @loading2 10 10 25 %line1 25 if (%line1 == 150) { goto end } inc %line1 1 goto loop :end } alias loading2 { .window -pk[0]C +d @loading2 0 0 170 50 ;top and bottom of the loading graph .drawline @loading2 grey 1 10 35 160 35 .drawline @loading2 grey 1 10 25 160 25 ;sides of the loading graph .drawline @loading2 grey 1 10 25 10 35 .drawline @loading2 grey 1 160 25 160 36 ;writs the Loading text .drawtext @loading2 grey Courier New 12 1 .. : Loading : .. ;this makes the line loading bar .line1 }