CusT

PunktServer

Oct 31st, 2013
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. # CusTMPC.cba.pl #
  2. # Strona z skryptami # Znajdziesz tam jeszcze wiecej skryptów ! #
  3.  
  4.  
  5. options:
  6. Prefix: &7*[&9Punkty&7]*
  7. Wiadomosc+: &8**Gracz &2%player% &8Wlasnie oddal &2dobry &8glos na serwer !
  8. Wiadomosc-: &8**Gracz &2%player% &8Wlasnie oddal &4Zly &8Glos na serwer !
  9.  
  10. variables:
  11. {punkty.%player%} = false
  12. {punkty+} = 0
  13. {punkty-} = 0
  14.  
  15. command /daj [<text>]:
  16. trigger:
  17. arg 1 is not set:
  18. send "{@Prefix} &7Uzyj /daj +/- "
  19. arg 1 is "+":
  20. if {punkty.%player%} is true:
  21. send "{@Prefix} &7Oddales juz glos na ten serwer !" to player
  22. stop
  23. if {punkty.%player%} is false:
  24. add 1 to {punkty+}
  25. set {punkty.%player%} to true
  26. broadcast "{@Wiadomosc+}"
  27. send "{@Prefix}&2+ &7Dla serwera zostal dodany !"
  28. stop
  29. {punkty+} is greater than 10:
  30. broadcast "&2Gratulacje ! &9Ten serwer zebral juz &210 dobrych glosow !"
  31. stop
  32. {punkty+} is greater than 25:
  33. broadcast "&2Gratulacje ! &9Ten serwer zebral juz &225 dobrych glosow !"
  34. stop
  35. {punkty+} is greater than 50:
  36. broadcast "&2Gratulacje ! &9Ten serwer zebral juz &250 dobrych glosow !"
  37. stop
  38. arg 1 is "-":
  39. if {punkty.%player%} is true:
  40. send "{@Prefix} &7Oddales juz glos na ten serwer !" to player
  41. stop
  42. if {punkty.%player%} is false:
  43. add 1 to {punkty-}
  44. set {punkty.%player%} to true
  45. broadcast "{@Wiadomosc-}"
  46. send "{@Prefix}&4- &7Dla serwera zostal dodany !"
  47. stop
  48. {punkty-} is greater than 10:
  49. broadcast "&7Niestety, ale serwer zebral juz 10 zlych glosow !"
  50. stop
  51. {punkty-} is greater than 25:
  52. broadcast "&7Niestety, ale serwer zebral juz 25 zlych glosow !"
  53. stop
  54. {punkty-} is greater than 50:
  55. broadcast "&7Niestety, ale serwer zebral juz 50 zlych glosow !"
  56. stop
  57.  
  58. command /punkty:
  59. trigger:
  60. send "{@Prefix} &8Ten serwer zebral &2%{punkty+}% &8dobrych glosow, oraz &4%{punkty-}% &8negatywnych glosow" to player
Advertisement
Add Comment
Please, Sign In to add comment