Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. on *:INPUT:*:{
  2. if (%colourtxton == 1) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  3. say 15,0�|0,15�|14�|15,14�|1�|8,1 $1- 1,14|�15|�14,15|�0|�15,0|�
  4. haltdef
  5. }
  6. elseif (%colourtxton == 2) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  7. say 9,0�|0,9�|3�|9,3�|10�|11,10 $1- 10,3|�9|�3,9|�0|�9,0|�
  8. haltdef
  9. }
  10. elseif (%colourtxton == 3) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  11. say 11,0�|0,11�|12�|11,12�|2�|9,2 $1- 2,12|�11|�12,11|�0|�11,0|�
  12. haltdef
  13. }
  14. elseif (%colourtxton == 4) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  15. say 13,0�|0,13�|6�|13,6�|5�|4 $1- 5|�13|�6,13|�0|�13,0|�
  16. haltdef
  17. }
  18. elseif (%colourtxton == 5) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  19. say 8,0�|0,8�|7�|8,7�|4�|8,4 $1- 4,7|�8|�7,8|�0|�8,0|�
  20. haltdef
  21. }
  22. elseif (%colourtxton == 6) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  23. say 4,0�|0,4|�7�|4,7|�8�|7,8|�9�|8,9|�11�|9,11|�13�|11,13|�6�|13,6|�13 $1- 13,6�|6,13|�11�|13,11|�9�|11,9|�8�|9,8|�7�|8,7|�4�|7,4|�0�|4,0|�
  24. haltdef
  25. }
  26. elseif (%colourtxton == 7) && ($left($1,1) != ! && $left($1,1) != / && $left($1,1) != `) {
  27. say $replacex($1-,$1-,%fcolour $+ $1- $+ %fcolour2)
  28. haltdef
  29. }
  30. }
  31.  
  32. menu channel {
  33. -
  34. Text colourer
  35. .black+grey:{
  36. set %colourtxton 1
  37. }
  38. .green:{
  39. set %colourtxton 2
  40. }
  41. .blue:{
  42. set %colourtxton 3
  43. }
  44. .pink,purple:{
  45. set %colourtxton 4
  46. }
  47. .red,orange,yellow:{
  48. set %colourtxton 5
  49. }
  50. .rainbow:{
  51. set %colourtxton 6
  52. }
  53. .custom:{
  54. set %colourtxton 7
  55. set %fcolour $input(Change starting text too? (this appears BEFORE your text),eo,FRISHS font colour changer,%fcolour,text)
  56. set %fcolour2 $input(Change ending text too? (this appears AFTER your text),eo,FRISHS font colour changer ending,%fcolour,text)
  57. }
  58. .COLOUR OFF:{
  59. unset %colourtxton
  60. unset %fcolour
  61. unset %fcolour2
  62. }
  63. -
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement