Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. every 10 rl seconds:
  2.  
  3. # These are the names of each title. List them all here or they will not work.
  4. set {_names::*} to "title1" and "title2"
  5.  
  6. # These are the titles and sub-titles categorized by their name listed above. Use {_name::%name%::*} and then set it like this: "set {_name::%name%::*} to %title%" and "%subtitle%" and "%title%" and "%subtitle%"
  7. set {_name::title1::*} to "&bA" and "&7Development" and "&bAr" and "&7Development" and "&bArt" and "&7Development" and "&bArte" and "&7Development" and "&bArtex" and "&7Development"
  8. set {_name::title2::*} to "&7Test2" and "&7Test2" and "&cTest2" and "&cTest2"
  9.  
  10. loop all players:
  11. set {_title} to a random element out of {_names::*}
  12. set {_slot} to 1
  13. loop (size of {_name::%{_title}%::*}/2) times:
  14. set {_slot2} to {_slot} + 1
  15. if {_name::%{_title}%::%{_slot2}%} is set:
  16. send loop-player title "%{_name::%{_title}%::%{_slot}%}%" with subtitle "%{_name::%{_title}%::%{_slot2}%}%" for 1.5 seconds
  17. else:
  18. send loop-player title "%{_name::%{_title}%::%{_slot}%}%" for 1.5 seconds
  19. wait 0.75 rl seconds
  20. add 2 to {_slot}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement