Advertisement
Guest User

ML - v.0.1

a guest
Nov 23rd, 2014
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. command /sound [<text>]:
  2. trigger:
  3. if arg 1 is set:
  4. if file "plugins/Skript/scripts/Sound/%arg 1%.nbs" doesn't exists:
  5. send "&cNie ma takiej piosenki w naszej bazie!"
  6. else:
  7. set {_xy} to "%arg 1%"
  8. replace all "allstar" with "All Star" in {_xy}
  9. replace all "akindofmagic" with "A Kind of Magic" in {_xy}
  10. replace all "bohemianrhapsody" with "Bohemian Rhapsody" in {_xy}
  11. replace all "callmemaybe" with "Call Me Maybe" in {_xy}
  12. replace all "caramia" with "Cara Mia" in {_xy}
  13. replace all "charliebrown" with "Charlie Brown" in {_xy}
  14. replace all "clocks" with "Clocks" in {_xy}
  15. replace all "comptined'unautreete" with "Comptine D'un Autre Ete" in {_xy}
  16. replace all "disturbance" with "Disturbance" in {_xy}
  17. replace all "djgotusfallininlove" with "DJ Got Us Fallin' in Love" in {_xy}
  18. play sound "plugins/Skript/scripts/Sound/%arg 1%.nbs" to player
  19. loop 225 times:
  20. display "> &9%{_xy}%&f <" on bossbar with 100 percent by 0.2 seconds for player
  21. wait 0.1 seconds
  22. display "&6&f>> &6%{_xy}%&f <<" on bossbar with 100 percent by 0.2 seconds for player
  23. wait 0.1 seconds
  24. display "&2&f>>> &2%{_xy}% &f<<<" on bossbar with 100 percent by 0.2 seconds for player
  25. wait 0.1 seconds
  26. display "&e&f>>>> &e%{_xy}%&f <<<<" on bossbar with 100 percent by 0.2 seconds for player
  27. wait 0.1 seconds
  28. display "&a&f>>>> &a%{_xy}%&f <<<<" on bossbar with 100 percent by 0.2 seconds for player
  29. wait 0.1 seconds
  30. display "&b&f>>> &b%{_xy}%&f <<<" on bossbar with 100 percent by 0.2 seconds for player
  31. wait 0.1 seconds
  32. display "&4&f>> &4%{_xy}%&f <<" on bossbar with 100 percent by 0.2 seconds for player
  33. wait 0.1 seconds
  34. display "&3&f> &3%{_xy}%&f <" on bossbar with 100 percent by 0.2 seconds for player
  35. if arg 1 is not set:
  36. execute player command "lista"
  37. command /lista [<integer=1>]:
  38. trigger:
  39. if integer-arg is 1:
  40. send "&9Strona: &c1&6/&c10"
  41. send "&71. &eakindofmagic (&bA Kind of Magic&e)"
  42. send "&72. &eallstar (&bAll Star&e)"
  43. send "&73. &ebohemianrhapsody (&bBohemian Rhapsody&e)"
  44. send "&74. &ecallmemaybe (&bCall Me Maybe&e)"
  45. send "&75. &ecaramia (&bCara Mia&e)"
  46. send "&76. &echarliebrown (&bCharlie Brown&e)"
  47. send "&77. &eclocks (&bClocks&e)"
  48. send "&78. &ecomptined'unautreete (&bComptine D'un Autre Été&e)"
  49. send "&79. &edisturbance (&bDisturbance&e)"
  50. send "&710. &edjgotusfallininlove (&bDJ Got Us Fallin' in Love&e)"
  51. if integer-arg is greater than 10:
  52. send "&cNie ma takiej strony!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement