Bar

By Stealth on May 10, 2005

Don't ask me why i made this...because truely i don't really know. Just out of boredom i guess. It's just an echo that shows a bar which has two colours (Blue/Red). It tells you what percentage = Blue and what Percentage = Red. Just type /tr and it will work :P

alias Tr {
  Var %x = $rand(1,100)
  var %y = 
  var %z = 1
  var %a = $calc(100 - %x)
  var %b = 1
  var %c = 
  While (%z != %x) {
    var %y = %y $+ 
    inc %z
  }
  while (%b != %a) {
    inc %b
    var %c = %c $+ 
  }
  var %c = %c $+ 
  echo 2,2 $+ %y $+ 4,4 $+ %c
  echo 2 $+ Blue = % $+ %x | 4Red = % $+ %a
}

Comments

Sign in to comment.
PoiXon   -  May 15, 2005

its a Bar. the bar is as long as the percentage

 Respond  
PuRpLeFrEaK   -  May 15, 2005

it\'s pretty kool but what does blue mean and what does red mean??

 Respond  
Stealth   -  May 12, 2005

it says that because maybe one side is far too long so the echo %y bit cant read it

 Respond  
Stealth   -  May 12, 2005

oh thats never happened to me...so sorry for the mistake...iim not sure how to correct it though

 Respond  
PoiXon   -  May 10, 2005

1 problem after a while \" * /set: line too long (line 28, script.ini)\" every now and then

 Respond  
PoiXon   -  May 10, 2005

could be useful :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.