CusT

Gods

Nov 1st, 2013
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 KB | None | 0 0
  1.  
  2. variables:
  3. {Chat.Thor.%player%} = false
  4. {Poziom.THOR.%player%} = 0
  5. {Klasa.Wybierz.%player%} = false
  6. {Chat.Hell.%player%} = false
  7. {Poziom.HELL.%player%} = 0
  8. {Chat.Ares.%player%} = false
  9. {Poziom.ARES.%player%} = 0
  10. {Klasa.Ares.Exp.%player%} = false
  11. {Klasa.Hell.Exp.%player%} = false
  12. {Klasa.Thor.Exp.%player%} = false
  13.  
  14. command /Gods [<text>]:
  15. trigger:
  16. arg 1 is not set:
  17. send "&8&o:@:&f&o= = = = = = &a&lGods &f&o= = = = = =&8&o:@:"
  18. send "&8&o:@: &9&oUzyj komendy /Gods pomoc ! &8&o:@:"
  19. arg 1 is "Pomoc":
  20. player has permissions "Gods.Pomoc":
  21. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  22. send "&8&o:@: &9&o/Gods_Wybierz [<text>] -Wybierasz bohatera &8&o:@:"
  23. send "&8&o:@: &9&o/Gods Zrezygnuj -Rezugnujesz z bohatera &8&o:@:"
  24. send "&8&o:@: &9&o/Gods Info -Informacje o skrypcie &8&o:@:"
  25. send "&8&o:@: &9&o/Gods Lista -Lista dostepnych bohaterow &8&o:@:"
  26. send "&8&o:@: &9&o/Gods Staty -Pokazuje twoj poziom i inne informacje o bohaterze &8&o:@:"
  27. send "&8&o:@: &9&o/Gods Pomoc -Pomoc dot. Skryptu &8&o:@:"
  28. send "&8&o:@: &9&o/Gods Permission -Permissions do kazdej komendy &8&o:@:"
  29. else:
  30. send "&8&o:@: &c&oNie posiadasz uprawnien ! &8&o:@:"
  31. arg 1 is "Lista":
  32. player has permissions "Gods.Lista":
  33. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  34. send "&8&o:@: &9&oThor[%{Poziom.THOR.%player%}%]&8&o:@:"
  35. send "&8&o:@: &9&oHell[%{Poziom.HELL.%player%}%]&8&o:@:"
  36. send "&8&o:@: &9&oAres[%{Poziom.ARES.%player%}%]&8&o:@:"
  37. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  38. else:
  39. send "&8&o:@: &c&oNie posiadasz uprawnien ! &8&o:@:"
  40. arg 1 is "Info":
  41. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  42. send "&8&o:@: &9&oAutorem skryptu jest CusT &8&o:@:"
  43. send "&8&o:@: &9&oZakaz kopiowania skryptu ! &8&o:@:"
  44. send "&8&o:@: &9&oZapraszam na CusTMPC.cba.pl ! &8&o:@:"
  45. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  46. arg 1 is "Permission":
  47. player has permissions "Gods.Permission":
  48. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  49. send "&8&o:@: &9&o /Gods Lista - Gods.Lista &8&o:@:"
  50. send "&8&o:@: &9&o /Gods Pomoc - Gods.Pomoc &8&o:@:"
  51. send "&8&o:@: &9&o /Gods Zrezygnuj -Gods.Zrezygnuj &8&o:@:"
  52. send "&8&o:@: &f&o= = = = = = &a&lGods &f&o= = = = = = &8&o:@:"
  53. else:
  54. send "&8&o:@: &c&oNie posiadasz uprawnien ! &8&o:@:"
  55. arg 1 is "Zrezygnuj":
  56. player has permissions "Gods.Zrezygnuj":
  57. set {Chat.Thor.%player%} to false
  58. set {Chat.Hell.%player%} to false
  59. set {Chat.Ares.%player%} to false
  60. set {Klasa.Wybierz.%player%} to false
  61. set {Klasa.Hell.Exp.%player%} to false
  62. set {Klasa.Thor.Exp.%player%} to false
  63. set {Klasa.Ares.Exp.%player%} to false
  64. remove speed from the player
  65. remove night vision from the player
  66. remove regeneration from the player
  67. execute console command "/clear %name of player%"
  68. send "&8&o:@: &9&oPomyslnie zrezygnowales z Bohatera ! &8&o:@:"
  69.  
  70. command /Gods_Wybierz [<text>]:
  71. trigger:
  72. if {Klasa.Wybierz.%player%} is true:
  73. send "&8&o:@: &c&oPosiadasz juz bohatera ! &8&o:@:"
  74. if {Klasa.Wybierz.%player%} is false:
  75. arg 1 is not set:
  76. send "&8&o:@:&f&o= = = = = = &a&lGods &f&o= = = = = =&8&o:@:"
  77. send "&8&o:@: &9&oUzyj komendy /Gods pomoc ! &8&o:@:"
  78. arg 1 is "Thor":
  79. player has permissions "Gods.Wybierz.Thor":
  80. send "&8&o:@: &9&oWybrales bohatera THOR ! &8&o:@:"
  81. send "&8&o:@: &9&oZa Chwile otrzymasz wszystkie atrybuty bohatera ! &8&o:@:"
  82. send "&8&o:@: &9&o T H O R &8&o:@: "
  83. strike lightning effect at the player
  84. wait 10 second
  85. apply speed 2 to the player for 999 days
  86. apply night vision 1 to the player for 999 days
  87. set tool of player to diamond sword of sharpness 2 named "&9&oMlot THORA"
  88. set chestplate of the player to a iron chestplate named "&9&oKlata Thora"
  89. set helmet of the player to a iron helmet named "&9&oHelm Thora "
  90. set leggings of the player to a iron leggings named "&9&oSpodnie Thora"
  91. set boots of the player to a diamond boots named "&9&oButy Thora"
  92. send "&8&o:@: &9&o Bohater THOR zostal pomyslnie przyznany ! &8&o:@:"
  93. set {Chat.Thor.%player%} to true
  94. set {Klasa.Wybierz.%player%} to true
  95. set {Klasa.Thor.Exp.%player%} to true
  96. add 1 to {Poziom.THOR.%player%}
  97. strike lightning effect at the player
  98. else:
  99. send "&8&o:@: &c&oNie posiadasz uprawnien ! &8&o:@:"
  100. arg 1 is "Hell":
  101. player has permissions "Gods.Wybierz.HELL":
  102. send "&8&o:@: &9&oWybrales bohatera Hell ! &8&o:@:"
  103. send "&8&o:@: &9&oZa Chwile otrzymasz wszystkie atrybuty bohatera ! &8&o:@:"
  104. send "&8&o:@: &9&o H E L L &8&o:@: "
  105. strike lightning effect at the player
  106. wait 10 second
  107. apply regeneration 1 to the player for 999 days
  108. set tool of player to iron sword named "&9&oSztylet HELL"
  109. set chestplate of the player to a leather chestplate named "&9&oKlata HELL"
  110. set helmet of the player to a leather helmet named "&9&oHelm HELL "
  111. set leggings of the player to a gold leggings named "&9&oSpodnie HELL"
  112. set boots of the player to a iron boots named "&9&oButy Hell"
  113. send "&8&o:@: &9&o Bohater HELL zostal pomyslnie przyznany ! &8&o:@:"
  114. set {Chat.Hell.%player%} to true
  115. set {Klasa.Wybierz.%player%} to true
  116. set {Klasa.Hell.Exp.%player%} to true
  117. add 1 to {Poziom.HELL.%player%}
  118. strike lightning effect at the player
  119. else:
  120. send "&8&o:@: &c&oNie posiadasz uprawnien ! &8&o:@:"
  121. arg 1 is "Ares":
  122. player has permissions "Gods.Wybierz.Ares":
  123. send "&8&o:@: &9&oWybrales bohatera Ares ! &8&o:@:"
  124. send "&8&o:@: &9&oZa Chwile otrzymasz wszystkie atrybuty bohatera ! &8&o:@:"
  125. send "&8&o:@: &9&o A R E S &8&o:@: "
  126. strike lightning effect at the player
  127. wait 10 second
  128. apply speed 1 to the player for 999 days
  129. set tool of player to diamond sword of sharpness 2 named "&9&oMiecz ARES"
  130. set chestplate of the player to a diamond chestplate named "&9&oKlata ARES"
  131. set helmet of the player to a iron helmet named "&9&oHelm ARES "
  132. set leggings of the player to a iron leggings named "&9&oSpodnie ARES"
  133. set boots of the player to a diamond boots named "&9&oButy ARES"
  134. send "&8&o:@: &9&o Bohater ARES zostal pomyslnie przyznany ! &8&o:@:"
  135. set {Chat.Ares.%player%} to true
  136. set {Klasa.Wybierz.%player%} to true
  137. set {Klasa.Ares.Exp.%player%} to true
  138. add 1 to {Poziom.ARES.%player%}
  139. strike lightning effect at the player
  140. else:
  141. send "&8&o:@: &c&oNie posiadasz uprawnien ! &8&o:@:"
  142.  
  143. on death of player:
  144. attacker is a player
  145. victim is a player:
  146. if {Klasa.Thor.Exp.%player%} is true:
  147. add 1 to {Poziom.THOR.%attacker%}
  148. if {Klasa.Hell.Exp.%player%} is true:
  149. add 1 to {Poziom.HELL.%attacker%}
  150. if {Klasa.Ares.Exp.%player%} is true:
  151. add 1 to {Poziom.ARES.%attacker%}
  152.  
  153.  
  154. on chat:
  155. if {Chat.Ares.%player%} is true:
  156. broadcast "&b[A]&a[%{Poziom.ARES.%player%}%]%name of player% %message%"
  157. cancel event
  158. if {Chat.Hell.%player%} is true:
  159. broadcast "&b[H]&a[%{Poziom.HELL.%player%}%]%name of player% %message%"
  160. cancel event
  161. if {Chat.Thor.%player%} is true:
  162. broadcast "&b[T]&a[%{Poziom.THOR.%player%}%]%name of player% %message%"
  163. cancel event
Advertisement
Add Comment
Please, Sign In to add comment