481_indik 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # indik
  2. <<<<<<< 481_indik
  3. if $ARGS[0] = '1':
  4. if a >= 100 : set $ind = '<font color = green> ██████████ <<a1>></font>'
  5. if a < 100 and a >= 90 : set $ind = '<font color = green> █████████_ <<a1>></font>'
  6. if a < 90 and a >= 80 : set $ind = '<font color = green> ████████__ <<a1>></font>'
  7. if a < 80 and a >= 70 : set $ind = '<font color = green> ███████___ <<a1>></font>'
  8. if a < 70 and a >= 60 : set $ind = '<font color = blue > ██████____ <<a1>></font>'
  9. if a < 60 and a >= 50 : set $ind = '<font color = blue > █████_____ <<a1>></font>'
  10. if a < 50 and a >= 40 : set $ind = '<font color = blue > ████______ <<a1>></font>'
  11. if a < 40 and a >= 30 : set $ind = '<font color = red > ███_______ <<a1>></font>'
  12. if a < 30 and a >= 20 : set $ind = '<font color = red > ██________ <<a1>></font>'
  13. if a < 20 and a >= 10 : set $ind = '<font color = red > █_________ <<a1>></font>'
  14. if a < 10 and a >= 1 : set $ind = '<font color = red > ▓_________ <<a1>></font>'
  15. if a <= 0 : set $ind = '<font color = red > __________ <<a1>></font>'
  16. end
  17. if $ARGS[0] = '2':
  18. if a >= 100 : set $ind = '<font color = red > ██████████ </font>'
  19. if a < 100 and a >= 90 : set $ind = '<font color = red > █████████_ </font>'
  20. if a < 90 and a >= 80 : set $ind = '<font color = red > ████████__ </font>'
  21. if a < 80 and a >= 70 : set $ind = '<font color = orange> ███████___ </font>'
  22. if a < 70 and a >= 60 : set $ind = '<font color = orange> ██████____ </font>'
  23. if a < 60 and a >= 50 : set $ind = '<font color = yellow> █████_____ </font>'
  24. if a < 50 and a >= 40 : set $ind = '<font color = yellow> ████______ </font>'
  25. if a < 40 and a >= 30 : set $ind = '<font color = green > ███_______ </font>'
  26. if a < 30 and a >= 20 : set $ind = '<font color = green > ██________ </font>'
  27. if a < 20 and a >= 10 : set $ind = '<font color = blue > █_________ </font>'
  28. if a < 10 and a >= 1 : set $ind = '<font color = blue > ▓_________ </font>'
  29. if a <= 0 : set $ind = '<font color = blue > __________ </font>'
  30. end
  31. =======
  32. if $ARGS[0]='1':
  33. if a >= 100 : set $ind = '<font color=green> в–€в–€в–€в–€в–€в–€в–€в–€в–€в–€ <<a1>></font> '
  34. if a < 100 and a>=90 : set $ind = '<font color=green> в–€в–€в–€в–€в–€в–€в–€в–€в–€_ <<a1>></font> '
  35. if a < 90 and a>=80 : set $ind = '<font color=green> в–€в–€в–€в–€в–€в–€в–€в–€__ <<a1>></font> '
  36. if a < 80 and a>=70 : set $ind = '<font color=green> в–€в–€в–€в–€в–€в–€в–€____ <<a1>></font> '
  37. if a < 70 and a>=60 : set $ind = '<font color= blue> в–€в–€в–€в–€в–€в–€_____ <<a1>></font> '
  38. if a < 60 and a>=50 : set $ind = '<font color= blue> в–€в–€в–€в–€в–€______ <<a1>></font> '
  39. if a < 50 and a>=40 : set $ind = '<font color= blue> в–€в–€в–€в–€_______ <<a1>></font> '
  40. if a < 40 and a>=30 : set $ind = '<font color= red > в–€в–€в–€________ <<a1>></font> '
  41. if a < 30 and a>=20 : set $ind = '<font color= red > в–€в–€_________ <<a1>></font> '
  42. if a < 20 and a>=10 : set $ind = '<font color= red > в–€__________ <<a1>></font> '
  43. if a < 10 and a>=1 : set $ind = '<font color= red > в–“__________ <<a1>></font> '
  44. if a<=0 : set $ind = '<font color= red > __________ <<a1>></font> '
  45. end
  46. if $ARGS[0]='2':
  47. if a >= 100 : set $ind = '<font color=red > в–€в–€в–€в–€в–€в–€в–€в–€в–€в–€ </font> '
  48. if a < 100 and a>=90 : set $ind = '<font color=red > в–€в–€в–€в–€в–€в–€в–€в–€в–€_ </font> '
  49. if a < 90 and a>=80 : set $ind = '<font color=red > в–€в–€в–€в–€в–€в–€в–€в–€__ </font> '
  50. if a < 80 and a>=70 : set $ind = '<font color=orange> в–€в–€в–€в–€в–€в–€в–€____ </font> '
  51. if a < 70 and a>=60 : set $ind = '<font color=orange> в–€в–€в–€в–€в–€в–€_____ </font> '
  52. if a < 60 and a>=50 : set $ind = '<font color=yellow> в–€в–€в–€в–€в–€______ </font> '
  53. if a < 50 and a>=40 : set $ind = '<font color=yellow> в–€в–€в–€в–€_______ </font> '
  54. if a < 40 and a>=30 : set $ind = '<font color=green > в–€в–€в–€________ </font> '
  55. if a < 30 and a>=20 : set $ind = '<font color=green > в–€в–€_________ </font> '
  56. if a < 20 and a>=10 : set $ind = '<font color= blue > в–€__________ </font> '
  57. if a < 10 and a>=1 : set $ind = '<font color= blue > в–“__________ </font> '
  58. if a<=0 : set $ind = '<font color= blue > __________ </font> '
  59. end
  60. >>>>>>> 481_indik
  61. --- indik ---------------------------------