Sprint2DJ

Untitled

May 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. variables:
  2. ranga.%player% = "Wloczega"
  3. command /awansuj <player> <text>:
  4. trigger:
  5. if {dowoKH.%player%} is 1:
  6. if argument 2 is "Paladyn":
  7. set {mag.%player%} to 1
  8. set {ranga.%argument 1%} to "&CPaladyn&f"
  9. set the maximum health of argument 1 to 30
  10. send "&7Zostales Paladynem!&f" to player
  11. else if argument 2 is "Rycerz":
  12. set {mag.%player%} to 0
  13. set {ranga.%argument 1%} to "&CRycerz&f"
  14. set the maximum health of argument 1 to 25
  15. send "&7Zostales Rycerzem Innosa!&f"
  16. else if argument 2 is "cStraznik":
  17. set {mag.%player%} to 0
  18. set {ranga.%argument 1%} to "&CeStraznik&f"
  19. set the maximum health of argument 1 to 20
  20. send "&7Od dzisiaj jestes elitarnym straznikiem Khorinis!&f" to player
  21. else if argument 2 is "Straznik":
  22. set {mag.%player%} to 0
  23. set {ranga.%argument 1%} to "&CStraznik&f"
  24. set the maximum health of argument 1 to 15
  25. send "&7Zostales straznikiem Khorinis!&f" to player
  26. else if argument 2 is "Obywatel":
  27. set {mag.%player%} to 0
  28. set {ranga.%argument 1%} to "&7Obywatel&f"
  29. set the maximum health of argument 1 to 10
  30. send "&7Od dzisiaj jestes pelnoprawnym obywatelem Khorinis!&f" to player
  31. else if argument 2 is "Farmer":
  32. set {mag.%player%} to 0
  33. set {ranga.%argument 1%} to "&7Farmer&f"
  34. set the maximum health of argument 1 to 10
  35. send "&7Zostales farmerem!&f" to player
  36. else if argument 2 is "Mysliwy":
  37. set {skora.%player%} to 1
  38. set {ranga.%argument 1%} to "Mysliwy"
  39. set the maximum health of argument 1 to 15
  40. send "&7Zostales mysliwym!&f" to player
  41. else if {dowoNA.%player%} is 1:
  42. if argument 2 is "eLowcaSmokow":
  43. set {mag.%player%} to 0
  44. set {ranga.%argument 1%} to "&9eLowcaSmokow&f"
  45. set the maximum health of argument 1 to 30
  46. send "&7Od dnia dzisiejszego jestes elitarnym lowca smokow!&f" to player
  47. else if argument 2 is "LowcaSmokow":
  48. set {mag.%player%} to 0
  49. set {ranga.%argument 1%} to "&9LowcaSmokow&f"
  50. set the maximum health of argument 1 to 25
  51. send "&fOd teraz mozesz nazywac sie lowca smokow!&f" to player
  52. else if argument 2 is "eNajemnik":
  53. set {mag.%player%} to 0
  54. set {ranga.%argument 1%} to "&9eNajemnik&f"
  55. set the maximum health of argument 1 to 20
  56. send "&7Zostales elitarnym najemnikiem Lee!&f" to player
  57. else if argument 2 is "Najemnik":
  58. set {mag.%player%} to 0
  59. set {ranga.%argument 1%} to "&9Najemnik&f"
  60. set the maximum health of argument 1 to 15
  61. send "&7Od dzisiaj jestes najemnikiem!&f" to player
  62. else if argument 2 is "Farmer":
  63. set {mag.%player%} to 0
  64. set {ranga.%argument 1%} to "&7Farmer&f"
  65. set the maximum health of argument 1 to 10
  66. send "&7Zostales farmerem!&f" to player
  67. else if argument 2 is "Mysliwy":
  68. set {skora.%player%} to 1
  69. set {ranga.%argument 1%} to "Mysliwy"
  70. set the maximum health of argument 1 to 15
  71. send "&7Zostales mysliwym!&f" to player
  72. else if {dowoKL.%player%} is 1:
  73. if argument 2 is "Nowicjusz":
  74. set {ranga.%argument 1%} to "&ENowicjusz&f"
  75. set {mag.%argument 1%} to 1
  76. set the maximum health of argument 1 to 15
  77. send "&7Zostales nowicjuszem w Klasztorze Innosa!&f"
  78. else if argument 2 is "MagOgnia":
  79. set {ranga.%argument 1%} to "&6MagOgnia&f"
  80. set {mag.%argument 1%} to 1
  81. set the maximum health of argument 1 to 20
  82. send "&7Od teraz jestes Magiem w sluzbie Innosa!&f" to player
  83. else if {dowoBA.%player%} is 1:
  84. if argument 2 is "Zwiadowca":
  85. set {mag.%player%} to 0
  86. set {ranga.%argument 1%} to "&2Zwiadowca&f"
  87. set the maximum health of argument 1 to 15
  88. send "&7Jestes zwiadowca!&f"
  89. else if argument 2 is "Rabus":
  90. set {mag.%player%} to 0
  91. set {ranga.%argument 1%} to "&2Rabus&f"
  92. set the maximum health of argument 1 to 20
  93. send "&7Zostales rabus!&f"
  94. else if argument 2 is "Bandyta":
  95. set {mag.%player%} to 0
  96. set {ranga.%argument 1%} to "&2Bandyta&f"
  97. set the maximum health of argument 1 to 25
  98. send "&7Zostales bandyta!&f"
  99. set {mag.%player%} to 0
  100. else if argument 2 is "sBandyta":
  101. set {mag.%player%} to 0
  102. set {ranga.%argument 1%} to "&2StarszyBandyta&f"
  103. set the maximum health of argument 1 to 30
  104. send "&7Jestes starszym bandyta!&f"
  105. else:
  106. send "&cNie jestes dowodca&f"
  107. command /dowodca <player> <text>:
  108. permission: awansuj.dowodca
  109. trigger:
  110. if argument 2 is "dowoKH":
  111. set {mag.%player%} to 1
  112. set {ranga.%argument 1%} to "&CLord&f"
  113. set the maximum health of argument 1 to 40
  114. set {dowoKH.%argument 1%} to 1
  115. send "&cZostales Lordem w Khorinis!&f" to player
  116. else if argument 2 is "dowoNA":
  117. set {mag.%player%} to 0
  118. set {ranga.%argument 1%} to "&9Dowodca&f"
  119. set the maximum health of argument 1 to 40
  120. set {dowoNA.%argument 1%} to 1
  121. send "&cZostales Dowodca najemnikow!&f" to player
  122. else if argument 2 is "dowoKL":
  123. set {ranga.%argument 1%} to "&4ArcymagOgnia&f"
  124. set the maximum health of argument 1 to 30
  125. set {dowoKL.%argument 1%} to 1
  126. set {mag.%argument 1%} to 1
  127. send "&cZostales Arcymagiem ognia w Klasztorze Innosa!&f" to player
  128. else if argument 2 is "dowoBA":
  129. set {mag.%player%} to 0
  130. set {dowoBA.%argument 1%} to 1
  131. set {ranga.%argument 1%} to "&2Herszt&f"
  132. set the maximum health of argument 1 to 35
  133. send "&cZostales Hersztem bandytow!&f"
  134. on death of wolf:
  135. attacker is player:
  136. victim is wolf:
  137. chance of 20%:
  138. drop 2 raw beef named "&fSurowe mieso" at victim
  139. chance of 40%:
  140. drop 1 raw beef named "&fSurowe mieso" at victim
  141. if {ranga.%attacker%} is "Mysliwy":
  142. drop 1 leather named "&fSkora wilka" at victim
  143. drop 2 raw beef named "&fSurowe mieso" at victim
  144. command /mysliwy <player>:
  145. permission: mysliwy.das
  146. trigger:
  147. set {skora.%argument 1%} to 1
  148. set the maximum health of argument 1 to 15
  149. set {ranga.%argument 1%} to "Mysliwy"
  150. send "&cZostales mysliwym!&f"
Advertisement
Add Comment
Please, Sign In to add comment