TheIroX2000

DragonLanceHeroes v0.1

Dec 14th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. #=======================================#
  2. # #
  3. # DragonLanceHeroes #
  4. # DLH #
  5. # TheIroX2000 #
  6. # #
  7. #=======================================#
  8. # #
  9. # Opcje #
  10. # #
  11. #=======================================#
  12. options:
  13. tag: "<white>[<blue>DragonLanceHeroes<white>]"
  14. tag2: "<white>[<blue>DLH<white>]"
  15. nazwa_sk: "DragonLanceHeroes.sk"
  16. #=======================================#
  17. # #
  18. # Główny kod #
  19. # #
  20. #=======================================#
  21. command: /dragonlanceheroes [<text>] [<text]
  22. aliases: dlh
  23. trigger:
  24. arg1 is "wybierz" or "choose":
  25. arg2 is "Carmon":
  26. player has permission: "dlh.Caramon"
  27. send "{@tag2} <blue>Wybrales Caramona"
  28. equip player with all iron armour
  29. else:
  30. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Caramonem."
  31. stop
  32. arg2 is "Raistlin":
  33. player has perrmission: "dlh.Raist"
  34. send "{@tag2} <blue>Wybrales Raistlina"
  35. equip player with all leather armour colored to black
  36. give 1 blaze rod named "<blue>Laska Magiusa" to the player
  37. else:
  38. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Raistlinem."
  39. stop
  40. arg2 is "Tanis" or "Tanthalas":
  41. player has permission: "dlh.Tanis"
  42. send "{tag2} <blue>Wybrales Tanisa"
  43. equip player with all chainmail armour
  44. give 1 bow to the player
  45. give 128 arrow to the player
  46. else:
  47. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Tanthalasem."
  48. stop
  49. arg2 is "Goldmoon":
  50. player has permission: "dlh.Goldmoon"
  51. send "{@tag2} <blue>Wybrales Goldmoon"
  52. equip player with all leather armour colored to white
  53. give 1 ghast tear to the player
  54. else:
  55. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Goldmoon."
  56. stop
  57. arg2 is "Tasslehof" or "Tas":
  58. player has permission: "dlh.Tas"
  59. send "{@tag2} <blue>Wybrales Tas'a"
  60. equip player with all leather armour colored to green
  61. give 1 stick enchanted to sharpness to the player
  62. else:
  63. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Tasem"
  64. stop
  65. arg2 is "Riverwind":
  66. player has permission: "dlh.Riverwind"
  67. send "{@tag2}<blue>Wybrałeś Riverwinda"
  68. give 1 iron sword enchanted to Sharpness 2 to the player
  69. equip player with all chain armour enchanted to protection 2
  70. else:
  71. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Riverwindem"
  72. stop
  73. arg2 is "Flint Fireforge" or "Flint":
  74. player has permission: "dlh.Flint"
  75. send "{@tag2} <blue>Wybrales Flinta"
  76. give 1 diamond hoe enchanted to Sharpness 5 named "Mlot bojowy" to the player
  77. equip player with all iron armour enchanted to protection 3
  78. else:
  79. send "{@tag2} <blue>Nie jestes tak doswiadczonym bohaterem aby stac sie Flintem"
  80. stop
  81. arg1 is "autor" or "author":
  82. send "<blue>Autor: <red>TheIroX2000"
  83. send "<blue>Nick na MPC: <red>iroxxx88"
  84. send "<blue>Wersja: <red>0.1"
  85. stop
  86. arg1 is "licencja":
  87. send "<blue> 1. <red>Zabrania sie zarabiania na skrypcie!"
  88. send "<blue> 2. <red>Zabrania sie usuwania informacji o autorze oraz licencji!"
  89. send "<blue> 3. <red>Zezwala sie na edycje kodu na wlasne potrzeby."
  90. send "<blue> 4. <red>Zezwala sie na uzywanie skryptu na serwerach publicznych"
  91. stop
  92. arg1 is "przeladuj" or "reload":
  93. send "{@tag2} <blue>Skrypt jest w trakcie przeladowywania!"
  94. wait 1 second
  95. execute console command "/skript reload {@nazwa_sk}"
  96. send "{@tag2} <blue>Skrypt zostal przeladowany"
  97. stop
  98. arg1 is "pomoc" or "help":
  99. send "{@tag2} <blue>Aby wybrac postac uzyj komendy "/dlh wybierz <nazwa_postaci>""
  100. send "{@tag2} <blue>Aby zobaczyc informacje o autorze uzyj komendy "/dlh autor""
  101. send "{@tag2} <blue>Aby zobaczyc licencje skryptu uzyj komendy "/dlh licencja""
  102. stop
  103. arg1 is "postacie" or "peoples":
  104. send "{@tag2} <blue>Tanis"
  105. send "{@tag2} <blue>Caramon"
  106. send "{@tag2} <blue>Raistlin"
  107. send "{@tag2} <blue>Goldmoon"
  108. send "{@tag2} <blue>Riverwind"
  109. send "{@tag2} <blue>Flint Fireforge"
  110. send "{@tag2} <blue>Tasslehof"
  111. stop
  112.  
  113.  
  114.  
  115.  
  116. #================================#
  117. # #
  118. # Dodatki do DLH #
  119. # #
  120. #================================#
  121. on rightclick holding blaze rod:
  122. player has permission: "dlh.fb"
  123. send "{@tag2} <blue>Rzuciles FireBall'a."
  124. shoot fireball
  125. stop
  126. on spawn entity:
  127. enity is zombie:
  128. set name to "<red>Hobgoblin"
  129. entity is spider:
  130. set name to "<red>Goblin"
  131. entity is skeleton:
  132. cancel event
  133. entity is creeper:
  134. cancel event
  135. stop
Advertisement
Add Comment
Please, Sign In to add comment