Guest User

NewGuild 0.1

a guest
Feb 22nd, 2014
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 KB | None | 0 0
  1. # =======================================
  2. # === Konfiguracja ===
  3. #========================================
  4. options:
  5.  
  6.  
  7.  
  8.  
  9.  
  10. # =======================================
  11. # === Itemy na Gildie ===
  12. pay1: 64 diamond
  13. pay2: 64 emerald
  14. pay3: 64 golden apple
  15. pay4: 64 golden carrot
  16. pay5: 64 bookshelf
  17. pay6: 16 ender pearl
  18. #========================================
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. # ===================================
  26. # === Wyglad Tagu Gildii ===
  27. tag: &6[&c%{tag.%player%}%&6]&7
  28. #====================================
  29.  
  30.  
  31.  
  32.  
  33.  
  34. # =======================================
  35. # === Tekst Przy Ladowaniu Skryptu ===
  36.  
  37. on script load:
  38. send "===========================" to the console
  39. send "== NewGuild ==" to the console
  40. send "== version: v 0.1 ==" to the console
  41. send "===========================" to the console
  42. # =======================================
  43.  
  44.  
  45.  
  46.  
  47.  
  48. # ========================================
  49. # === GuildChat ===
  50. # ========================================
  51.  
  52. on chat:
  53. set the player's display name to "{@tag} %name of player%"
  54. # =========================================
  55. # === Zakladanie Gildii ===
  56. # =========================================
  57.  
  58. command /gildia [<text>] [<text>] [<text>]:
  59. aliases: g
  60. trigger:
  61. if arg 1 is not set:
  62. send "&3&l=================================="
  63. send "&7/gildia zaloz [NAZWA] [TAG] &c- Zaklada Gildie"
  64. send "&3&l=================================="
  65. if arg 1 is "zaloz":
  66. if arg 2 is set:
  67. if arg 3 is set:
  68. if player has {@pay1}:
  69. if player has {@pay2}:
  70. if player has {@pay3}:
  71. if player has {@pay4}:
  72. if player has {@pay5}:
  73. if player has {@pay6}:
  74. set {nazwa.%player%} to arg 2
  75. set {tag.%player%} to arg 3
  76. send " &7 Zabezpieczenie &8- &aTworzenie ..."
  77. set {_pos} to location of player
  78. send "&c&l Nie ruszaj kamera przez 2 sekundy!"
  79. wait 1 second
  80. if {_pos} isn't location of player:
  81. send " &c&lWykryto ruch, zakladanie anulowane !!"
  82. stop
  83. wait 1 second
  84. set block 0.1 meter above player to dragon egg
  85. make console execute command "/op %name of player%"
  86. make player execute command "//pos1"
  87. make player execute command "//pos2"
  88. make player execute command "//expand 25 n"
  89. make player execute command "//expand 24 s"
  90. make player execute command "//expand 25 w"
  91. make player execute command "//expand 24 e"
  92. make player execute command "//expand vert"
  93. make player execute command "rg define %name of player%"
  94. make player execute command "rg addowner -w world %name of player% %name of player%"
  95. make console execute command "/deop %name of player%"
  96. set {owner%player%} to 1
  97. send ""
  98. send " "
  99. send " "
  100. send " "
  101. send " "
  102. send " "
  103. send " "
  104. send " "
  105. send " "
  106. send " "
  107. send " "
  108. send " "
  109. send " "
  110. send " "
  111. send " "
  112. send " "
  113. send "x"
  114. send ""
  115. send " "
  116. send " "
  117. send " "
  118. send " "
  119. send " "
  120. send " "
  121. send " "
  122. send " "
  123. send " "
  124. send " "
  125. send " "
  126. send " "
  127. send " "
  128. send " "
  129. send " "
  130. send ""
  131. send " "
  132. send " "
  133. send " "
  134. send " "
  135. send " "
  136. send " "
  137. send " "
  138. send " "
  139. send " "
  140. send " "
  141. send " "
  142. send " "
  143. send " "
  144. send " "
  145. send " "
  146. send "x"
  147. send ""
  148. send " "
  149. send " "
  150. send " "
  151. send " "
  152. send " "
  153. send " "
  154. send " "
  155. send " "
  156. send " "
  157. send " "
  158. send " "
  159. send " "
  160. send " "
  161. send " "
  162. send " "
  163. send ""
  164. send " "
  165. send " "
  166. send " "
  167. send " "
  168. send " "
  169. send " "
  170. send " "
  171. send " "
  172. send " "
  173. send " "
  174. send " "
  175. send " "
  176. send " "
  177. send " "
  178. send " "
  179. send "x"
  180. send ""
  181. send " "
  182. send " "
  183. send " "
  184. send " "
  185. send " "
  186. send " "
  187. send " "
  188. send " "
  189. send " "
  190. send " "
  191. send " "
  192. send " "
  193. send " "
  194. send " "
  195. send " "
  196. send " Zabezpieczenie &8- &aStworzone ..."
  197. send " &8Srodek dzialki wyznacza smocze jajko"
  198. send " &8Dzialka ma rozmiary &c50 x 50.&8 Mozesz ja powiekszac za oplata."
  199. send " &8Wiecej informacji pod komenda &a&l/gildia pomoc&8."
  200. remove {@pay1} from player
  201. remove {@pay2} from player
  202. remove {@pay3} from player
  203. remove {@pay4} from player
  204. remove {@pay5} from player
  205. remove {@pay6} from player
  206. stop
  207. else:
  208. send "Nie Posiadasz {@pay6}"
  209. else:
  210. send "Nie Posiadasz {@pay5}"
  211. else:
  212. send "Nie Posiadasz {@pay4}"
  213. else:
  214. send "Nie Posiadasz {@pay3}"
  215. else:
  216. send "Nie Posiadasz {@pay2}"
  217. else:
  218. send "Nie Posiadasz {@pay1}"
  219. else:
  220. send "Nie Podano Tagu Gildii"
  221. else:
  222. send "Nie Podano Nazwy Gildii"
Advertisement
Add Comment
Please, Sign In to add comment