GamePL7

gLive

Feb 1st, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. options:
  2. logo: &8&l[&6&lLIVE&8&l]
  3. variables:
  4. {stan.live} = 0
  5. command /live [<text>] [<text>]:
  6. trigger:
  7. if player have permission "live.gpl7":
  8. if arg 1 is not set:
  9. send "{@logo} &aWpisz /live &cstart/koniec"
  10. if arg 1 is "start":
  11. if arg 2 is not empety:
  12. if {stan.live} is 1:
  13. broadcast "&r"
  14. broadcast "{@logo} &aGracz &c%player% &awlasnie nagrywa live! &7Link: &a%argument 2%"
  15. broadcast "&r"
  16. set {stan.live} to 30
  17. else:
  18. if {stan.live} is 1:
  19. send "{@logo} &aMozesz wpisac link'a do live'a! &7(&a/live start link&7)"
  20. broadcast "&r"
  21. broadcast "{@logo} &aGracz &c%player% &awlasnie nagrywa live!"
  22. broadcast "&r"
  23. set {stan.live} to 30
  24. if arg 1 is "koniec":
  25. broadcast "&r"
  26. broadcast "{@logo} &aGracz &c%player% &awlasnie skonczyl live!"
  27. broadcast "&r"
  28. set {stan.live} to 0
  29. stop
  30. else:
  31. send "{@logo} &aNie posiadasz permisji&7!"
  32.  
  33. every 1 second:
  34. if {stan.live} is bigger than 1:
  35. remove 1 from {stan.live}
Add Comment
Please, Sign In to add comment