Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 320.58 KB | None | 0 0
  1. options:
  2. Prefix: §8[§eGrundbesitz§8]
  3. KeineRechte: §8[§cSystem§8]§7 §7Keine Rechte!
  4.  
  5. # First Preissetzen und Besitzerreset
  6. #================================================================================================================
  7. on load:
  8. if {wohnung1.Preis} is not set:
  9. set {wohnung1.Preis} to 25
  10. if {wohnung2.Preis} is not set:
  11. set {wohnung2.Preis} to 25
  12. if {wohnung3.Preis} is not set:
  13. set {wohnung3.Preis} to 80
  14. if {wohnung4.Preis} is not set:
  15. set {wohnung4.Preis} to 100
  16. if {wohnung5.Preis} is not set:
  17. set {wohnung5.Preis} to 100
  18. if {wohnung6.Preis} is not set:
  19. set {wohnung6.Preis} to 100
  20. if {wohnung7.Preis} is not set:
  21. set {wohnung7.Preis} to 100
  22. if {wohnung8.Preis} is not set:
  23. set {wohnung8.Preis} to 100
  24. if {wohnung9.Preis} is not set:
  25. set {wohnung9.Preis} to 100
  26. if {wohnung10.Preis} is not set:
  27. set {wohnung10.Preis} to 100
  28. if {wohnung11.Preis} is not set:
  29. set {wohnung11.Preis} to 100
  30. if {wohnung12.Preis} is not set:
  31. set {wohnung12.Preis} to 100
  32. if {wohnung13.Preis} is not set:
  33. set {wohnung13.Preis} to 100
  34. if {wohnung14.Preis} is not set:
  35. set {wohnung14.Preis} to 100
  36. if {wohnung15.Preis} is not set:
  37. set {wohnung15.Preis} to 100
  38. if {wohnung16.Preis} is not set:
  39. set {wohnung16.Preis} to 100
  40. if {wohnung17.Preis} is not set:
  41. set {wohnung17.Preis} to 100
  42. if {wohnung18.Preis} is not set:
  43. set {wohnung18.Preis} to 100
  44. if {wohnung19.Preis} is not set:
  45. set {wohnung19.Preis} to 100
  46. if {wohnung20.Preis} is not set:
  47. set {wohnung20.Preis} to 100
  48. if {wohnung21.Preis} is not set:
  49. set {wohnung21.Preis} to 100
  50. if {wohnung22.Preis} is not set:
  51. set {wohnung22.Preis} to 100
  52. if {wohnung23.Preis} is not set:
  53. set {wohnung23.Preis} to 100
  54. if {wohnung24.Preis} is not set:
  55. set {wohnung24.Preis} to 100
  56. if {wohnung25.Preis} is not set:
  57. set {wohnung25.Preis} to 100
  58. if {wohnung26.Preis} is not set:
  59. set {wohnung26.Preis} to 100
  60. if {wohnung27.Preis} is not set:
  61. set {wohnung27.Preis} to 100
  62. if {wohnung28.Preis} is not set:
  63. set {wohnung28.Preis} to 100
  64. if {wohnung29.Preis} is not set:
  65. set {wohnung29.Preis} to 100
  66. if {wohnung30.Preis} is not set:
  67. set {wohnung30.Preis} to 100
  68. if {wohnung31.Preis} is not set:
  69. set {wohnung31.Preis} to 100
  70. if {wohnung32.Preis} is not set:
  71. set {wohnung32.Preis} to 100
  72. if {wohnung33.Preis} is not set:
  73. set {wohnung33.Preis} to 100
  74. if {wohnung34.Preis} is not set:
  75. set {wohnung34.Preis} to 100
  76. if {wohnung35.Preis} is not set:
  77. set {wohnung35.Preis} to 100
  78. if {wohnung36.Preis} is not set:
  79. set {wohnung36.Preis} to 100
  80. if {wohnung37.Preis} is not set:
  81. set {wohnung37.Preis} to 100
  82. if {wohnung38.Preis} is not set:
  83. set {wohnung38.Preis} to 100
  84. if {wohnung39.Preis} is not set:
  85. set {wohnung39.Preis} to 100
  86. if {wohnung40.Preis} is not set:
  87. set {wohnung40.Preis} to 100
  88. if {wohnung41.Preis} is not set:
  89. set {wohnung41.Preis} to 100
  90. if {wohnung42.Preis} is not set:
  91. set {wohnung42.Preis} to 100
  92. if {wohnung43.Preis} is not set:
  93. set {wohnung43.Preis} to 100
  94. if {wohnung44.Preis} is not set:
  95. set {wohnung44.Preis} to 100
  96. if {wohnung45.Preis} is not set:
  97. set {wohnung45.Preis} to 100
  98. #================================================================================================================
  99. on load:
  100. if {wohnung1.Besitzer} is not set:
  101. set {wohnung1.Besitzer} to "Unverkauft"
  102. if {wohnung2.Besitzer} is not set:
  103. set {wohnung2.Besitzer} to "Unverkauft"
  104. if {wohnung3.Besitzer} is not set:
  105. set {wohnung3.Besitzer} to "Unverkauft"
  106. if {wohnung4.Besitzer} is not set:
  107. set {wohnung4.Besitzer} to "Unverkauft"
  108. if {wohnung5.Besitzer} is not set:
  109. set {wohnung5.Besitzer} to "Unverkauft"
  110. if {wohnung6.Besitzer} is not set:
  111. set {wohnung6.Besitzer} to "Unverkauft"
  112. if {wohnung7.Besitzer} is not set:
  113. set {wohnung7.Besitzer} to "Unverkauft"
  114. if {wohnung8.Besitzer} is not set:
  115. set {wohnung8.Besitzer} to "Unverkauft"
  116. if {wohnung9.Besitzer} is not set:
  117. set {wohnung9.Besitzer} to "Unverkauft"
  118. if {wohnung10.Besitzer} is not set:
  119. set {wohnung10.Besitzer} to "Unverkauft"
  120. if {wohnung11.Besitzer} is not set:
  121. set {wohnung11.Besitzer} to "Unverkauft"
  122. if {wohnung12.Besitzer} is not set:
  123. set {wohnung12.Besitzer} to "Unverkauft"
  124. if {wohnung13.Besitzer} is not set:
  125. set {wohnung13.Besitzer} to "Unverkauft"
  126. if {wohnung14.Besitzer} is not set:
  127. set {wohnung14.Besitzer} to "Unverkauft"
  128. if {wohnung15.Besitzer} is not set:
  129. set {wohnung15.Besitzer} to "Unverkauft"
  130. if {wohnung16.Besitzer} is not set:
  131. set {wohnung16.Besitzer} to "Unverkauft"
  132. if {wohnung17.Besitzer} is not set:
  133. set {wohnung17.Besitzer} to "Unverkauft"
  134. if {wohnung18.Besitzer} is not set:
  135. set {wohnung18.Besitzer} to "Unverkauft"
  136. if {wohnung19.Besitzer} is not set:
  137. set {wohnung19.Besitzer} to "Unverkauft"
  138. if {wohnung20.Besitzer} is not set:
  139. set {wohnung20.Besitzer} to "Unverkauft"
  140. if {wohnung21.Besitzer} is not set:
  141. set {wohnung21.Besitzer} to "Unverkauft"
  142. if {wohnung22.Besitzer} is not set:
  143. set {wohnung22.Besitzer} to "Unverkauft"
  144. if {wohnung23.Besitzer} is not set:
  145. set {wohnung23.Besitzer} to "Unverkauft"
  146. if {wohnung24.Besitzer} is not set:
  147. set {wohnung24.Besitzer} to "Unverkauft"
  148. if {wohnung25.Besitzer} is not set:
  149. set {wohnung25.Besitzer} to "Unverkauft"
  150. if {wohnung26.Besitzer} is not set:
  151. set {wohnung26.Besitzer} to "Unverkauft"
  152. if {wohnung27.Besitzer} is not set:
  153. set {wohnung27.Besitzer} to "Unverkauft"
  154. if {wohnung28.Besitzer} is not set:
  155. set {wohnung28.Besitzer} to "Unverkauft"
  156. if {wohnung29.Besitzer} is not set:
  157. set {wohnung29.Besitzer} to "Unverkauft"
  158. if {wohnung30.Besitzer} is not set:
  159. set {wohnung30.Besitzer} to "Unverkauft"
  160. if {wohnung31.Besitzer} is not set:
  161. set {wohnung31.Besitzer} to "Unverkauft"
  162. if {wohnung32.Besitzer} is not set:
  163. set {wohnung32.Besitzer} to "Unverkauft"
  164. if {wohnung33.Besitzer} is not set:
  165. set {wohnung33.Besitzer} to "Unverkauft"
  166. if {wohnung34.Besitzer} is not set:
  167. set {wohnung34.Besitzer} to "Unverkauft"
  168. if {wohnung35.Besitzer} is not set:
  169. set {wohnung35.Besitzer} to "Unverkauft"
  170. if {wohnung36.Besitzer} is not set:
  171. set {wohnung36.Besitzer} to "Unverkauft"
  172. if {wohnung37.Besitzer} is not set:
  173. set {wohnung37.Besitzer} to "Unverkauft"
  174. if {wohnung38.Besitzer} is not set:
  175. set {wohnung38.Besitzer} to "Unverkauft"
  176. if {wohnung39.Besitzer} is not set:
  177. set {wohnung39.Besitzer} to "Unverkauft"
  178. if {wohnung40.Besitzer} is not set:
  179. set {wohnung40.Besitzer} to "Unverkauft"
  180. if {wohnung41.Besitzer} is not set:
  181. set {wohnung41.Besitzer} to "Unverkauft"
  182. if {wohnung42.Besitzer} is not set:
  183. set {wohnung42.Besitzer} to "Unverkauft"
  184. if {wohnung43.Besitzer} is not set:
  185. set {wohnung43.Besitzer} to "Unverkauft"
  186. if {wohnung44.Besitzer} is not set:
  187. set {wohnung44.Besitzer} to "Unverkauft"
  188. if {wohnung45.Besitzer} is not set:
  189. set {wohnung45.Besitzer} to "Unverkauft"
  190. #================================================================================================================
  191. command /setwohnungchest [<Text>] [<Text>]:
  192. permission: op
  193. permission message: "{@KeineRechte}"
  194. trigger:
  195. give golden_axe named "%arg 1%" with lore "%arg 2%" to player
  196. send "{@Prefix} &7Rechtsclicke die zu markierende Kisten!" to player
  197. set {Wohnungscreate.%player%} to "%arg 1%"
  198. set {Wohnungscreate.Kistennummer.%player%} to "%arg 2%"
  199.  
  200. command /wohnungsliste:
  201. permission: op
  202. permission message: "{@KeineRechte}"
  203. trigger:
  204. open chest with 6 rows named "&8Eiseninsel" to player
  205. if {Wohnung1.Besitzer} is "Unverkauft":
  206. format slot 0 of player with red dye named "&8» &7" to be unstealable
  207. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  208.  
  209. command /setwohnungsbesitzer [<Text>] [<Text>]:
  210. permission: op
  211. permission message: "{@KeineRechte}"
  212. trigger:
  213. set {_WohnungsnummerBesitzer} to "%arg 1%"
  214. set {_WohnungsnummerBesitzer.Person} to "%arg 2%"
  215. if arg 2 is not set:
  216. set {_WohnungsnummerBesitzer.Person} to "Unverkauft"
  217. set {wohnung%{_WohnungsnummerBesitzer}%.Besitzer} to "%{_WohnungsnummerBesitzer.Person}%"
  218. if arg 2 is not set:
  219. send "&7Wohnungsbesitzer resettet" to player
  220. stop trigger
  221. else:
  222. send "&7Wohnungsbesitzer gesetzt." to player
  223.  
  224.  
  225. command /312098412addfriend [<Integer>]:
  226. trigger:
  227. set {addNr.%player%} to "%arg 1%"
  228. send "&8[&6Wohnraum&8] &7Welchen Spieler möchtest du hinzufügen?" to player
  229. set {addFriendStatus.%player%} to true
  230. wait 10 seconds
  231. set {addFriendStatus.%player%} to false
  232.  
  233. on chat:
  234. if {addFriendStatus.%player%} is true:
  235. set {_Message} to message
  236. set {addFriendStatus.%player%} to false
  237. make player execute command "addfriend %{addNr.%player%}% %{_Message}%"
  238.  
  239.  
  240. command /addfriend [<Text>] [<Player>]:
  241. trigger:
  242. if arg 1 is not set:
  243. stop trigger
  244. if arg 2 is not set:
  245. stop trigger
  246. if {Wohnung%arg 1%.Besitzer} is "%player%":
  247. set {_Player} to arg 2
  248. set {_WNr} to arg 1
  249. add {_Player} to {ListFreundeWohnung%arg 1%::*}
  250. send "&8[&6Wohnraum&8] &7Du hast %arg 2% zu deiner Wohnung hinzugefügt!"
  251. stop trigger
  252.  
  253.  
  254. command /setwohnungspreis [<Text>] [<Text>]:
  255. permission: op
  256. permission message: "{@KeineRechte}"
  257. trigger:
  258. set {_WohnungsnummerBesitzer} to "%arg 1%"
  259. set {_WohnungsnummerPreis.Preis} to "%arg 2%"
  260. set {wohnung%{_WohnungsnummerBesitzer}%.Preis} to {_WohnungsnummerPreis.Preis}
  261. send "&7Wohnungspreis gesetzt." to player
  262.  
  263. command /wohnungserstellung:
  264. permission: op
  265. permission message: "{@KeineRechte}"
  266. trigger:
  267. send "&7/setwohnungchest <Wohnungsnummer> <Kistennummer>" to player
  268. send "&7/setwohnungsbesitzer <Wohnungsnummer> <Besitzer>" to player
  269. send "&7/setwohnungssign <Wohnungsnummer>" to player
  270. send "&7/setwohnungspreis <Preis>" to player
  271.  
  272.  
  273.  
  274. command /setwohnungssign [<Text>]:
  275. permission: op
  276. permission message: "{@KeineRechte}"
  277. trigger:
  278. if targeted block is a sign:
  279. set line 2 of target block to "&8[&6Wohnraum&8]"
  280. send "{@Prefix} &7Das Schild wurde beschrieben."
  281. set {Wohnungscreate.%player%} to "%arg 1%"
  282. set {Wohnungscreate.Schildnummer.%player%} to 1
  283. set {_location} to location of targeted block
  284. set {x.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's x-pos
  285. set {y.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's y-pos
  286. set {z.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's z-pos
  287. #
  288. #
  289. # KISTEN - BESITZÜBERPRÜFUNG
  290. #
  291. #
  292. # Wohnung 1
  293. # 1.1
  294. on click on chest:
  295. if player's tool is a golden_axe:
  296. cancel event
  297. set {x.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's x-pos
  298. set {y.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's y-pos
  299. set {z.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's z-pos
  300. send "&7Kiste gesetzt." to player
  301. else:
  302. set {_location} to location of event-block
  303. x-location of {_location} is {x.wohnung1.1}
  304. y-location of {_location} is {y.wohnung1.1}
  305. z-location of {_location} is {z.wohnung1.1}
  306. if {wohnung1.Besitzer} is "%player%":
  307. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  308. else:
  309. cancel event
  310. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  311. # 1.2
  312. on click on chest:
  313. if player's tool is a golden_axe:
  314. cancel event
  315. else:
  316. set {_location} to location of event-block
  317. x-location of {_location} is {x.wohnung1.2}
  318. y-location of {_location} is {y.wohnung1.2}
  319. z-location of {_location} is {z.wohnung1.2}
  320. if {wohnung1.Besitzer} is "%player%":
  321. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  322. else:
  323. cancel event
  324. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  325. # 1.3
  326. on click on chest:
  327. if player's tool is a golden_axe:
  328. cancel event
  329. else:
  330. set {_location} to location of event-block
  331. x-location of {_location} is {x.wohnung1.3}
  332. y-location of {_location} is {y.wohnung1.3}
  333. z-location of {_location} is {z.wohnung1.3}
  334. if {wohnung1.Besitzer} is "%player%":
  335. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  336. else:
  337. cancel event
  338. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  339. # 1.4
  340. on click on chest:
  341. if player's tool is a golden_axe:
  342. cancel event
  343. else:
  344. set {_location} to location of event-block
  345. x-location of {_location} is {x.wohnung1.4}
  346. y-location of {_location} is {y.wohnung1.4}
  347. z-location of {_location} is {z.wohnung1.4}
  348. if {wohnung1.Besitzer} is "%player%":
  349. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  350. else:
  351. cancel event
  352. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  353. # 1.5
  354. on click on chest:
  355. if player's tool is a golden_axe:
  356. cancel event
  357. else:
  358. set {_location} to location of event-block
  359. x-location of {_location} is {x.wohnung1.5}
  360. y-location of {_location} is {y.wohnung1.5}
  361. z-location of {_location} is {z.wohnung1.5}
  362. if {wohnung1.Besitzer} is "%player%":
  363. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  364. else:
  365. cancel event
  366. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  367. # Wohnung 2
  368. # 2.1
  369. on click on chest:
  370. if player's tool is a golden_axe:
  371. cancel event
  372. else:
  373. set {_location} to location of event-block
  374. x-location of {_location} is {x.wohnung2.1}
  375. y-location of {_location} is {y.wohnung2.1}
  376. z-location of {_location} is {z.wohnung2.1}
  377. if {wohnung2.Besitzer} is "%player%":
  378. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  379. else:
  380. cancel event
  381. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  382. # 2.2
  383. on click on chest:
  384. if player's tool is a golden_axe:
  385. cancel event
  386. else:
  387. set {_location} to location of event-block
  388. x-location of {_location} is {x.wohnung2.2}
  389. y-location of {_location} is {y.wohnung2.2}
  390. z-location of {_location} is {z.wohnung2.2}
  391. if {wohnung2.Besitzer} is "%player%":
  392. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  393. else:
  394. cancel event
  395. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  396. # 2.3
  397. on click on chest:
  398. if player's tool is a golden_axe:
  399. cancel event
  400. else:
  401. set {_location} to location of event-block
  402. x-location of {_location} is {x.wohnung2.3}
  403. y-location of {_location} is {y.wohnung2.3}
  404. z-location of {_location} is {z.wohnung2.3}
  405. if {wohnung2.Besitzer} is "%player%":
  406. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  407. else:
  408. cancel event
  409. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  410. # 2.4
  411. on click on chest:
  412. if player's tool is a golden_axe:
  413. cancel event
  414. else:
  415. set {_location} to location of event-block
  416. x-location of {_location} is {x.wohnung2.4}
  417. y-location of {_location} is {y.wohnung2.4}
  418. z-location of {_location} is {z.wohnung2.4}
  419. if {wohnung2.Besitzer} is "%player%":
  420. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  421. else:
  422. cancel event
  423. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  424. # 2.5
  425. on click on chest:
  426. if player's tool is a golden_axe:
  427. cancel event
  428. else:
  429. set {_location} to location of event-block
  430. x-location of {_location} is {x.wohnung2.5}
  431. y-location of {_location} is {y.wohnung2.5}
  432. z-location of {_location} is {z.wohnung2.5}
  433. if {wohnung2.Besitzer} is "%player%":
  434. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  435. else:
  436. cancel event
  437. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  438. # Wohnung 3
  439. # 3.1
  440. on click on chest:
  441. if player's tool is a golden_axe:
  442. cancel event
  443. else:
  444. set {_location} to location of event-block
  445. x-location of {_location} is {x.wohnung3.1}
  446. y-location of {_location} is {y.wohnung3.1}
  447. z-location of {_location} is {z.wohnung3.1}
  448. if {wohnung3.Besitzer} is "%player%":
  449. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  450. else:
  451. cancel event
  452. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  453. # 3.2
  454. on click on chest:
  455. if player's tool is a golden_axe:
  456. cancel event
  457. else:
  458. set {_location} to location of event-block
  459. x-location of {_location} is {x.wohnung3.2}
  460. y-location of {_location} is {y.wohnung3.2}
  461. z-location of {_location} is {z.wohnung3.2}
  462. if {wohnung3.Besitzer} is "%player%":
  463. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  464. else:
  465. cancel event
  466. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  467. # 3.3
  468. on click on chest:
  469. if player's tool is a golden_axe:
  470. cancel event
  471. else:
  472. set {_location} to location of event-block
  473. x-location of {_location} is {x.wohnung3.3}
  474. y-location of {_location} is {y.wohnung3.3}
  475. z-location of {_location} is {z.wohnung3.3}
  476. if {wohnung3.Besitzer} is "%player%":
  477. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  478. else:
  479. cancel event
  480. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  481. # 3.4
  482. on click on chest:
  483. if player's tool is a golden_axe:
  484. cancel event
  485. else:
  486. set {_location} to location of event-block
  487. x-location of {_location} is {x.wohnung3.4}
  488. y-location of {_location} is {y.wohnung3.4}
  489. z-location of {_location} is {z.wohnung3.4}
  490. if {wohnung3.Besitzer} is "%player%":
  491. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  492. else:
  493. cancel event
  494. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  495. # 3.5
  496. on click on chest:
  497. if player's tool is a golden_axe:
  498. cancel event
  499. else:
  500. set {_location} to location of event-block
  501. x-location of {_location} is {x.wohnung3.5}
  502. y-location of {_location} is {y.wohnung3.5}
  503. z-location of {_location} is {z.wohnung3.5}
  504. if {wohnung3.Besitzer} is "%player%":
  505. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  506. else:
  507. cancel event
  508. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  509. # Wohnung 4
  510. # 4.1
  511. on click on chest:
  512. if player's tool is a golden_axe:
  513. cancel event
  514. else:
  515. set {_location} to location of event-block
  516. x-location of {_location} is {x.wohnung4.1}
  517. y-location of {_location} is {y.wohnung4.1}
  518. z-location of {_location} is {z.wohnung4.1}
  519. if {wohnung4.Besitzer} is "%player%":
  520. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  521. else:
  522. cancel event
  523. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  524. # 4.2
  525. on click on chest:
  526. if player's tool is a golden_axe:
  527. cancel event
  528. else:
  529. set {_location} to location of event-block
  530. x-location of {_location} is {x.wohnung4.2}
  531. y-location of {_location} is {y.wohnung4.2}
  532. z-location of {_location} is {z.wohnung4.2}
  533. if {wohnung4.Besitzer} is "%player%":
  534. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  535. else:
  536. cancel event
  537. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  538. # 4.3
  539. on click on chest:
  540. if player's tool is a golden_axe:
  541. cancel event
  542. else:
  543. set {_location} to location of event-block
  544. x-location of {_location} is {x.wohnung4.3}
  545. y-location of {_location} is {y.wohnung4.3}
  546. z-location of {_location} is {z.wohnung4.3}
  547. if {wohnung4.Besitzer} is "%player%":
  548. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  549. else:
  550. cancel event
  551. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  552. # 4.4
  553. on click on chest:
  554. if player's tool is a golden_axe:
  555. cancel event
  556. else:
  557. set {_location} to location of event-block
  558. x-location of {_location} is {x.wohnung4.4}
  559. y-location of {_location} is {y.wohnung4.4}
  560. z-location of {_location} is {z.wohnung4.4}
  561. if {wohnung4.Besitzer} is "%player%":
  562. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  563. else:
  564. cancel event
  565. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  566. # 4.5
  567. on click on chest:
  568. if player's tool is a golden_axe:
  569. cancel event
  570. else:
  571. set {_location} to location of event-block
  572. x-location of {_location} is {x.wohnung4.5}
  573. y-location of {_location} is {y.wohnung4.5}
  574. z-location of {_location} is {z.wohnung4.5}
  575. if {wohnung4.Besitzer} is "%player%":
  576. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  577. else:
  578. cancel event
  579. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  580. # Wohnung 5
  581. # 5.1
  582. on click on chest:
  583. if player's tool is a golden_axe:
  584. cancel event
  585. else:
  586. set {_location} to location of event-block
  587. x-location of {_location} is {x.wohnung5.1}
  588. y-location of {_location} is {y.wohnung5.1}
  589. z-location of {_location} is {z.wohnung5.1}
  590. if {wohnung5.Besitzer} is "%player%":
  591. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  592. else:
  593. cancel event
  594. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  595. # 5.2
  596. on click on chest:
  597. if player's tool is a golden_axe:
  598. cancel event
  599. else:
  600. set {_location} to location of event-block
  601. x-location of {_location} is {x.wohnung5.2}
  602. y-location of {_location} is {y.wohnung5.2}
  603. z-location of {_location} is {z.wohnung5.2}
  604. if {wohnung5.Besitzer} is "%player%":
  605. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  606. else:
  607. cancel event
  608. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  609. # 5.3
  610. on click on chest:
  611. if player's tool is a golden_axe:
  612. cancel event
  613. else:
  614. set {_location} to location of event-block
  615. x-location of {_location} is {x.wohnung5.3}
  616. y-location of {_location} is {y.wohnung5.3}
  617. z-location of {_location} is {z.wohnung5.3}
  618. if {wohnung5.Besitzer} is "%player%":
  619. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  620. else:
  621. cancel event
  622. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  623. # 5.4
  624. on click on chest:
  625. if player's tool is a golden_axe:
  626. cancel event
  627. else:
  628. set {_location} to location of event-block
  629. x-location of {_location} is {x.wohnung5.4}
  630. y-location of {_location} is {y.wohnung5.4}
  631. z-location of {_location} is {z.wohnung5.4}
  632. if {wohnung5.Besitzer} is "%player%":
  633. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  634. else:
  635. cancel event
  636. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  637. # 5.5
  638. on click on chest:
  639. if player's tool is a golden_axe:
  640. cancel event
  641. else:
  642. set {_location} to location of event-block
  643. x-location of {_location} is {x.wohnung5.5}
  644. y-location of {_location} is {y.wohnung5.5}
  645. z-location of {_location} is {z.wohnung5.5}
  646. if {wohnung5.Besitzer} is "%player%":
  647. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  648. else:
  649. cancel event
  650. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  651. # Wohnung 6
  652. # 6.1
  653. on click on chest:
  654. if player's tool is a golden_axe:
  655. cancel event
  656. else:
  657. set {_location} to location of event-block
  658. x-location of {_location} is {x.wohnung6.1}
  659. y-location of {_location} is {y.wohnung6.1}
  660. z-location of {_location} is {z.wohnung6.1}
  661. if {wohnung6.Besitzer} is "%player%":
  662. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  663. else:
  664. cancel event
  665. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  666. # 6.2
  667. on click on chest:
  668. if player's tool is a golden_axe:
  669. cancel event
  670. else:
  671. set {_location} to location of event-block
  672. x-location of {_location} is {x.wohnung6.2}
  673. y-location of {_location} is {y.wohnung6.2}
  674. z-location of {_location} is {z.wohnung6.2}
  675. if {wohnung6.Besitzer} is "%player%":
  676. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  677. else:
  678. cancel event
  679. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  680. # 6.3
  681. on click on chest:
  682. if player's tool is a golden_axe:
  683. cancel event
  684. else:
  685. set {_location} to location of event-block
  686. x-location of {_location} is {x.wohnung6.3}
  687. y-location of {_location} is {y.wohnung6.3}
  688. z-location of {_location} is {z.wohnung6.3}
  689. if {wohnung6.Besitzer} is "%player%":
  690. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  691. else:
  692. cancel event
  693. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  694. # 6.4
  695. on click on chest:
  696. if player's tool is a golden_axe:
  697. cancel event
  698. else:
  699. set {_location} to location of event-block
  700. x-location of {_location} is {x.wohnung6.4}
  701. y-location of {_location} is {y.wohnung6.4}
  702. z-location of {_location} is {z.wohnung6.4}
  703. if {wohnung6.Besitzer} is "%player%":
  704. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  705. else:
  706. cancel event
  707. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  708. # 6.5
  709. on click on chest:
  710. if player's tool is a golden_axe:
  711. cancel event
  712. else:
  713. set {_location} to location of event-block
  714. x-location of {_location} is {x.wohnung6.5}
  715. y-location of {_location} is {y.wohnung6.5}
  716. z-location of {_location} is {z.wohnung6.5}
  717. if {wohnung6.Besitzer} is "%player%":
  718. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  719. else:
  720. cancel event
  721. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  722. # Wohnung 7
  723. # 7.1
  724. on click on chest:
  725. if player's tool is a golden_axe:
  726. cancel event
  727. else:
  728. set {_location} to location of event-block
  729. x-location of {_location} is {x.wohnung7.1}
  730. y-location of {_location} is {y.wohnung7.1}
  731. z-location of {_location} is {z.wohnung7.1}
  732. if {wohnung7.Besitzer} is "%player%":
  733. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  734. else:
  735. cancel event
  736. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  737. # 7.2
  738. on click on chest:
  739. if player's tool is a golden_axe:
  740. cancel event
  741. else:
  742. set {_location} to location of event-block
  743. x-location of {_location} is {x.wohnung7.2}
  744. y-location of {_location} is {y.wohnung7.2}
  745. z-location of {_location} is {z.wohnung7.2}
  746. if {wohnung7.Besitzer} is "%player%":
  747. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  748. else:
  749. cancel event
  750. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  751. # 7.3
  752. on click on chest:
  753. if player's tool is a golden_axe:
  754. cancel event
  755. else:
  756. set {_location} to location of event-block
  757. x-location of {_location} is {x.wohnung7.3}
  758. y-location of {_location} is {y.wohnung7.3}
  759. z-location of {_location} is {z.wohnung7.3}
  760. if {wohnung7.Besitzer} is "%player%":
  761. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  762. else:
  763. cancel event
  764. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  765. # 7.4
  766. on click on chest:
  767. if player's tool is a golden_axe:
  768. cancel event
  769. else:
  770. set {_location} to location of event-block
  771. x-location of {_location} is {x.wohnung7.4}
  772. y-location of {_location} is {y.wohnung7.4}
  773. z-location of {_location} is {z.wohnung7.4}
  774. if {wohnung7.Besitzer} is "%player%":
  775. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  776. else:
  777. cancel event
  778. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  779. # 7.5
  780. on click on chest:
  781. if player's tool is a golden_axe:
  782. cancel event
  783. else:
  784. set {_location} to location of event-block
  785. x-location of {_location} is {x.wohnung7.5}
  786. y-location of {_location} is {y.wohnung7.5}
  787. z-location of {_location} is {z.wohnung7.5}
  788. if {wohnung7.Besitzer} is "%player%":
  789. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  790. else:
  791. cancel event
  792. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  793. # Wohnung 8
  794. # 8.1
  795. on click on chest:
  796. if player's tool is a golden_axe:
  797. cancel event
  798. else:
  799. set {_location} to location of event-block
  800. x-location of {_location} is {x.wohnung8.1}
  801. y-location of {_location} is {y.wohnung8.1}
  802. z-location of {_location} is {z.wohnung8.1}
  803. if {wohnung8.Besitzer} is "%player%":
  804. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  805. else:
  806. cancel event
  807. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  808. # 8.2
  809. on click on chest:
  810. if player's tool is a golden_axe:
  811. cancel event
  812. else:
  813. set {_location} to location of event-block
  814. x-location of {_location} is {x.wohnung8.2}
  815. y-location of {_location} is {y.wohnung8.2}
  816. z-location of {_location} is {z.wohnung8.2}
  817. if {wohnung8.Besitzer} is "%player%":
  818. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  819. else:
  820. cancel event
  821. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  822. # 8.3
  823. on click on chest:
  824. if player's tool is a golden_axe:
  825. cancel event
  826. else:
  827. set {_location} to location of event-block
  828. x-location of {_location} is {x.wohnung8.3}
  829. y-location of {_location} is {y.wohnung8.3}
  830. z-location of {_location} is {z.wohnung8.3}
  831. if {wohnung8.Besitzer} is "%player%":
  832. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  833. else:
  834. cancel event
  835. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  836. # 8.4
  837. on click on chest:
  838. if player's tool is a golden_axe:
  839. cancel event
  840. else:
  841. set {_location} to location of event-block
  842. x-location of {_location} is {x.wohnung8.4}
  843. y-location of {_location} is {y.wohnung8.4}
  844. z-location of {_location} is {z.wohnung8.4}
  845. if {wohnung8.Besitzer} is "%player%":
  846. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  847. else:
  848. cancel event
  849. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  850. # 8.5
  851. on click on chest:
  852. if player's tool is a golden_axe:
  853. cancel event
  854. else:
  855. set {_location} to location of event-block
  856. x-location of {_location} is {x.wohnung8.5}
  857. y-location of {_location} is {y.wohnung8.5}
  858. z-location of {_location} is {z.wohnung8.5}
  859. if {wohnung8.Besitzer} is "%player%":
  860. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  861. else:
  862. cancel event
  863. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  864. # Wohnung 9
  865. # 9.1
  866. on click on chest:
  867. if player's tool is a golden_axe:
  868. cancel event
  869. else:
  870. set {_location} to location of event-block
  871. x-location of {_location} is {x.wohnung9.1}
  872. y-location of {_location} is {y.wohnung9.1}
  873. z-location of {_location} is {z.wohnung9.1}
  874. if {wohnung9.Besitzer} is "%player%":
  875. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  876. else:
  877. cancel event
  878. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  879. # 9.2
  880. on click on chest:
  881. if player's tool is a golden_axe:
  882. cancel event
  883. else:
  884. set {_location} to location of event-block
  885. x-location of {_location} is {x.wohnung9.2}
  886. y-location of {_location} is {y.wohnung9.2}
  887. z-location of {_location} is {z.wohnung9.2}
  888. if {wohnung9.Besitzer} is "%player%":
  889. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  890. else:
  891. cancel event
  892. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  893. # 9.3
  894. on click on chest:
  895. if player's tool is a golden_axe:
  896. cancel event
  897. else:
  898. set {_location} to location of event-block
  899. x-location of {_location} is {x.wohnung9.3}
  900. y-location of {_location} is {y.wohnung9.3}
  901. z-location of {_location} is {z.wohnung9.3}
  902. if {wohnung9.Besitzer} is "%player%":
  903. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  904. else:
  905. cancel event
  906. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  907. # 9.4
  908. on click on chest:
  909. if player's tool is a golden_axe:
  910. cancel event
  911. else:
  912. set {_location} to location of event-block
  913. x-location of {_location} is {x.wohnung9.4}
  914. y-location of {_location} is {y.wohnung9.4}
  915. z-location of {_location} is {z.wohnung9.4}
  916. if {wohnung9.Besitzer} is "%player%":
  917. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  918. else:
  919. cancel event
  920. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  921. # 9.5
  922. on click on chest:
  923. if player's tool is a golden_axe:
  924. cancel event
  925. else:
  926. set {_location} to location of event-block
  927. x-location of {_location} is {x.wohnung9.5}
  928. y-location of {_location} is {y.wohnung9.5}
  929. z-location of {_location} is {z.wohnung9.5}
  930. if {wohnung9.Besitzer} is "%player%":
  931. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  932. else:
  933. cancel event
  934. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  935. # Wohnung 10
  936. # 10.1
  937. on click on chest:
  938. if player's tool is a golden_axe:
  939. cancel event
  940. else:
  941. set {_location} to location of event-block
  942. x-location of {_location} is {x.wohnung10.1}
  943. y-location of {_location} is {y.wohnung10.1}
  944. z-location of {_location} is {z.wohnung10.1}
  945. if {wohnung10.Besitzer} is "%player%":
  946. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  947. else:
  948. cancel event
  949. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  950. # 10.2
  951. on click on chest:
  952. if player's tool is a golden_axe:
  953. cancel event
  954. else:
  955. set {_location} to location of event-block
  956. x-location of {_location} is {x.wohnung10.2}
  957. y-location of {_location} is {y.wohnung10.2}
  958. z-location of {_location} is {z.wohnung10.2}
  959. if {wohnung10.Besitzer} is "%player%":
  960. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  961. else:
  962. cancel event
  963. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  964. # 10.3
  965. on click on chest:
  966. if player's tool is a golden_axe:
  967. cancel event
  968. else:
  969. set {_location} to location of event-block
  970. x-location of {_location} is {x.wohnung10.3}
  971. y-location of {_location} is {y.wohnung10.3}
  972. z-location of {_location} is {z.wohnung10.3}
  973. if {wohnung10.Besitzer} is "%player%":
  974. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  975. else:
  976. cancel event
  977. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  978. # 10.4
  979. on click on chest:
  980. if player's tool is a golden_axe:
  981. cancel event
  982. else:
  983. set {_location} to location of event-block
  984. x-location of {_location} is {x.wohnung10.4}
  985. y-location of {_location} is {y.wohnung10.4}
  986. z-location of {_location} is {z.wohnung10.4}
  987. if {wohnung10.Besitzer} is "%player%":
  988. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  989. else:
  990. cancel event
  991. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  992. # 10.5
  993. on click on chest:
  994. if player's tool is a golden_axe:
  995. cancel event
  996. else:
  997. set {_location} to location of event-block
  998. x-location of {_location} is {x.wohnung10.5}
  999. y-location of {_location} is {y.wohnung10.5}
  1000. z-location of {_location} is {z.wohnung10.5}
  1001. if {wohnung10.Besitzer} is "%player%":
  1002. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1003. else:
  1004. cancel event
  1005. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1006. # Wohnung 11
  1007. # 11.1
  1008. on click on chest:
  1009. if player's tool is a golden_axe:
  1010. cancel event
  1011. else:
  1012. set {_location} to location of event-block
  1013. x-location of {_location} is {x.wohnung11.1}
  1014. y-location of {_location} is {y.wohnung11.1}
  1015. z-location of {_location} is {z.wohnung11.1}
  1016. if {wohnung11.Besitzer} is "%player%":
  1017. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1018. else:
  1019. cancel event
  1020. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1021. # 11.2
  1022. on click on chest:
  1023. if player's tool is a golden_axe:
  1024. cancel event
  1025. else:
  1026. set {_location} to location of event-block
  1027. x-location of {_location} is {x.wohnung11.2}
  1028. y-location of {_location} is {y.wohnung11.2}
  1029. z-location of {_location} is {z.wohnung11.2}
  1030. if {wohnung11.Besitzer} is "%player%":
  1031. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1032. else:
  1033. cancel event
  1034. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1035. # 11.3
  1036. on click on chest:
  1037. if player's tool is a golden_axe:
  1038. cancel event
  1039. else:
  1040. set {_location} to location of event-block
  1041. x-location of {_location} is {x.wohnung11.3}
  1042. y-location of {_location} is {y.wohnung11.3}
  1043. z-location of {_location} is {z.wohnung11.3}
  1044. if {wohnung11.Besitzer} is "%player%":
  1045. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1046. else:
  1047. cancel event
  1048. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1049. # 11.4
  1050. on click on chest:
  1051. if player's tool is a golden_axe:
  1052. cancel event
  1053. else:
  1054. set {_location} to location of event-block
  1055. x-location of {_location} is {x.wohnung11.4}
  1056. y-location of {_location} is {y.wohnung11.4}
  1057. z-location of {_location} is {z.wohnung11.4}
  1058. if {wohnung11.Besitzer} is "%player%":
  1059. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1060. else:
  1061. cancel event
  1062. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1063. # 11.5
  1064. on click on chest:
  1065. if player's tool is a golden_axe:
  1066. cancel event
  1067. else:
  1068. set {_location} to location of event-block
  1069. x-location of {_location} is {x.wohnung11.5}
  1070. y-location of {_location} is {y.wohnung11.5}
  1071. z-location of {_location} is {z.wohnung11.5}
  1072. if {wohnung11.Besitzer} is "%player%":
  1073. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1074. else:
  1075. cancel event
  1076. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1077. # Wohnung 12
  1078. # 12.1
  1079. on click on chest:
  1080. if player's tool is a golden_axe:
  1081. cancel event
  1082. else:
  1083. set {_location} to location of event-block
  1084. x-location of {_location} is {x.wohnung12.1}
  1085. y-location of {_location} is {y.wohnung12.1}
  1086. z-location of {_location} is {z.wohnung12.1}
  1087. if {wohnung12.Besitzer} is "%player%":
  1088. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1089. else:
  1090. cancel event
  1091. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1092. # 12.2
  1093. on click on chest:
  1094. if player's tool is a golden_axe:
  1095. cancel event
  1096. else:
  1097. set {_location} to location of event-block
  1098. x-location of {_location} is {x.wohnung12.2}
  1099. y-location of {_location} is {y.wohnung12.2}
  1100. z-location of {_location} is {z.wohnung12.2}
  1101. if {wohnung12.Besitzer} is "%player%":
  1102. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1103. else:
  1104. cancel event
  1105. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1106. # 12.3
  1107. on click on chest:
  1108. if player's tool is a golden_axe:
  1109. cancel event
  1110. else:
  1111. set {_location} to location of event-block
  1112. x-location of {_location} is {x.wohnung12.3}
  1113. y-location of {_location} is {y.wohnung12.3}
  1114. z-location of {_location} is {z.wohnung12.3}
  1115. if {wohnung12.Besitzer} is "%player%":
  1116. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1117. else:
  1118. cancel event
  1119. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1120. # 12.4
  1121. on click on chest:
  1122. if player's tool is a golden_axe:
  1123. cancel event
  1124. else:
  1125. set {_location} to location of event-block
  1126. x-location of {_location} is {x.wohnung12.4}
  1127. y-location of {_location} is {y.wohnung12.4}
  1128. z-location of {_location} is {z.wohnung12.4}
  1129. if {wohnung12.Besitzer} is "%player%":
  1130. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1131. else:
  1132. cancel event
  1133. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1134. # 12.5
  1135. on click on chest:
  1136. if player's tool is a golden_axe:
  1137. cancel event
  1138. else:
  1139. set {_location} to location of event-block
  1140. x-location of {_location} is {x.wohnung12.5}
  1141. y-location of {_location} is {y.wohnung12.5}
  1142. z-location of {_location} is {z.wohnung12.5}
  1143. if {wohnung12.Besitzer} is "%player%":
  1144. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1145. else:
  1146. cancel event
  1147. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1148. # Wohnung 13
  1149. # 13.1
  1150. on click on chest:
  1151. if player's tool is a golden_axe:
  1152. cancel event
  1153. else:
  1154. set {_location} to location of event-block
  1155. x-location of {_location} is {x.wohnung13.1}
  1156. y-location of {_location} is {y.wohnung13.1}
  1157. z-location of {_location} is {z.wohnung13.1}
  1158. if {wohnung13.Besitzer} is "%player%":
  1159. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1160. else:
  1161. cancel event
  1162. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1163. # 13.2
  1164. on click on chest:
  1165. if player's tool is a golden_axe:
  1166. cancel event
  1167. else:
  1168. set {_location} to location of event-block
  1169. x-location of {_location} is {x.wohnung13.2}
  1170. y-location of {_location} is {y.wohnung13.2}
  1171. z-location of {_location} is {z.wohnung13.2}
  1172. if {wohnung13.Besitzer} is "%player%":
  1173. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1174. else:
  1175. cancel event
  1176. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1177. # 13.3
  1178. on click on chest:
  1179. if player's tool is a golden_axe:
  1180. cancel event
  1181. else:
  1182. set {_location} to location of event-block
  1183. x-location of {_location} is {x.wohnung13.3}
  1184. y-location of {_location} is {y.wohnung13.3}
  1185. z-location of {_location} is {z.wohnung13.3}
  1186. if {wohnung13.Besitzer} is "%player%":
  1187. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1188. else:
  1189. cancel event
  1190. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1191. # 13.4
  1192. on click on chest:
  1193. if player's tool is a golden_axe:
  1194. cancel event
  1195. else:
  1196. set {_location} to location of event-block
  1197. x-location of {_location} is {x.wohnung13.4}
  1198. y-location of {_location} is {y.wohnung13.4}
  1199. z-location of {_location} is {z.wohnung13.4}
  1200. if {wohnung13.Besitzer} is "%player%":
  1201. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1202. else:
  1203. cancel event
  1204. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1205. # 13.5
  1206. on click on chest:
  1207. if player's tool is a golden_axe:
  1208. cancel event
  1209. else:
  1210. set {_location} to location of event-block
  1211. x-location of {_location} is {x.wohnung13.5}
  1212. y-location of {_location} is {y.wohnung13.5}
  1213. z-location of {_location} is {z.wohnung13.5}
  1214. if {wohnung14.Besitzer} is "%player%":
  1215. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1216. else:
  1217. cancel event
  1218. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1219. # Wohnung 14
  1220. # 14.1
  1221. on click on chest:
  1222. if player's tool is a golden_axe:
  1223. cancel event
  1224. else:
  1225. set {_location} to location of event-block
  1226. x-location of {_location} is {x.wohnung14.1}
  1227. y-location of {_location} is {y.wohnung14.1}
  1228. z-location of {_location} is {z.wohnung14.1}
  1229. if {wohnung14.Besitzer} is "%player%":
  1230. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1231. else:
  1232. cancel event
  1233. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1234. # 14.2
  1235. on click on chest:
  1236. if player's tool is a golden_axe:
  1237. cancel event
  1238. else:
  1239. set {_location} to location of event-block
  1240. x-location of {_location} is {x.wohnung14.2}
  1241. y-location of {_location} is {y.wohnung14.2}
  1242. z-location of {_location} is {z.wohnung14.2}
  1243. if {wohnung14.Besitzer} is "%player%":
  1244. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1245. else:
  1246. cancel event
  1247. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1248. # 14.3
  1249. on click on chest:
  1250. if player's tool is a golden_axe:
  1251. cancel event
  1252. else:
  1253. set {_location} to location of event-block
  1254. x-location of {_location} is {x.wohnung14.3}
  1255. y-location of {_location} is {y.wohnung14.3}
  1256. z-location of {_location} is {z.wohnung14.3}
  1257. if {wohnung14.Besitzer} is "%player%":
  1258. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1259. else:
  1260. cancel event
  1261. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1262. # 14.4
  1263. on click on chest:
  1264. if player's tool is a golden_axe:
  1265. cancel event
  1266. else:
  1267. set {_location} to location of event-block
  1268. x-location of {_location} is {x.wohnung14.4}
  1269. y-location of {_location} is {y.wohnung14.4}
  1270. z-location of {_location} is {z.wohnung14.4}
  1271. if {wohnung14.Besitzer} is "%player%":
  1272. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1273. else:
  1274. cancel event
  1275. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1276. # 14.5
  1277. on click on chest:
  1278. if player's tool is a golden_axe:
  1279. cancel event
  1280. else:
  1281. set {_location} to location of event-block
  1282. x-location of {_location} is {x.wohnung14.5}
  1283. y-location of {_location} is {y.wohnung14.5}
  1284. z-location of {_location} is {z.wohnung14.5}
  1285. if {wohnung14.Besitzer} is "%player%":
  1286. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1287. else:
  1288. cancel event
  1289. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1290. # Wohnung 15
  1291. # 15.1
  1292. on click on chest:
  1293. if player's tool is a golden_axe:
  1294. cancel event
  1295. else:
  1296. set {_location} to location of event-block
  1297. x-location of {_location} is {x.wohnung15.1}
  1298. y-location of {_location} is {y.wohnung15.1}
  1299. z-location of {_location} is {z.wohnung15.1}
  1300. if {wohnung15.Besitzer} is "%player%":
  1301. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1302. else:
  1303. cancel event
  1304. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1305. # 15.2
  1306. on click on chest:
  1307. if player's tool is a golden_axe:
  1308. cancel event
  1309. else:
  1310. set {_location} to location of event-block
  1311. x-location of {_location} is {x.wohnung15.2}
  1312. y-location of {_location} is {y.wohnung15.2}
  1313. z-location of {_location} is {z.wohnung15.2}
  1314. if {wohnung15.Besitzer} is "%player%":
  1315. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1316. else:
  1317. cancel event
  1318. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1319. # 15.3
  1320. on click on chest:
  1321. if player's tool is a golden_axe:
  1322. cancel event
  1323. else:
  1324. set {_location} to location of event-block
  1325. x-location of {_location} is {x.wohnung15.3}
  1326. y-location of {_location} is {y.wohnung15.3}
  1327. z-location of {_location} is {z.wohnung15.3}
  1328. if {wohnung15.Besitzer} is "%player%":
  1329. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1330. else:
  1331. cancel event
  1332. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1333. # 15.4
  1334. on click on chest:
  1335. if player's tool is a golden_axe:
  1336. cancel event
  1337. else:
  1338. set {_location} to location of event-block
  1339. x-location of {_location} is {x.wohnung15.4}
  1340. y-location of {_location} is {y.wohnung15.4}
  1341. z-location of {_location} is {z.wohnung15.4}
  1342. if {wohnung15.Besitzer} is "%player%":
  1343. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1344. else:
  1345. cancel event
  1346. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1347. # 15.5
  1348. on click on chest:
  1349. if player's tool is a golden_axe:
  1350. cancel event
  1351. else:
  1352. set {_location} to location of event-block
  1353. x-location of {_location} is {x.wohnung15.5}
  1354. y-location of {_location} is {y.wohnung15.5}
  1355. z-location of {_location} is {z.wohnung15.5}
  1356. if {wohnung15.Besitzer} is "%player%":
  1357. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1358. else:
  1359. cancel event
  1360. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1361. # Wohnung 16
  1362. # 16.1
  1363. on click on chest:
  1364. if player's tool is a golden_axe:
  1365. cancel event
  1366. else:
  1367. set {_location} to location of event-block
  1368. x-location of {_location} is {x.wohnung16.1}
  1369. y-location of {_location} is {y.wohnung16.1}
  1370. z-location of {_location} is {z.wohnung16.1}
  1371. if {wohnung16.Besitzer} is "%player%":
  1372. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1373. else:
  1374. cancel event
  1375. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1376. # 16.2
  1377. on click on chest:
  1378. if player's tool is a golden_axe:
  1379. cancel event
  1380. else:
  1381. set {_location} to location of event-block
  1382. x-location of {_location} is {x.wohnung16.2}
  1383. y-location of {_location} is {y.wohnung16.2}
  1384. z-location of {_location} is {z.wohnung16.2}
  1385. if {wohnung16.Besitzer} is "%player%":
  1386. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1387. else:
  1388. cancel event
  1389. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1390. # 16.3
  1391. on click on chest:
  1392. if player's tool is a golden_axe:
  1393. cancel event
  1394. else:
  1395. set {_location} to location of event-block
  1396. x-location of {_location} is {x.wohnung16.3}
  1397. y-location of {_location} is {y.wohnung16.3}
  1398. z-location of {_location} is {z.wohnung16.3}
  1399. if {wohnung16.Besitzer} is "%player%":
  1400. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1401. else:
  1402. cancel event
  1403. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1404. # 16.4
  1405. on click on chest:
  1406. if player's tool is a golden_axe:
  1407. cancel event
  1408. else:
  1409. set {_location} to location of event-block
  1410. x-location of {_location} is {x.wohnung16.4}
  1411. y-location of {_location} is {y.wohnung16.4}
  1412. z-location of {_location} is {z.wohnung16.4}
  1413. if {wohnung16.Besitzer} is "%player%":
  1414. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1415. else:
  1416. cancel event
  1417. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1418. # 16.5
  1419. on click on chest:
  1420. if player's tool is a golden_axe:
  1421. cancel event
  1422. else:
  1423. set {_location} to location of event-block
  1424. x-location of {_location} is {x.wohnung16.5}
  1425. y-location of {_location} is {y.wohnung16.5}
  1426. z-location of {_location} is {z.wohnung16.5}
  1427. if {wohnung16.Besitzer} is "%player%":
  1428. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1429. else:
  1430. cancel event
  1431. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1432. # Wohnung 17
  1433. # 17.1
  1434. on click on chest:
  1435. if player's tool is a golden_axe:
  1436. cancel event
  1437. else:
  1438. set {_location} to location of event-block
  1439. x-location of {_location} is {x.wohnung17.1}
  1440. y-location of {_location} is {y.wohnung17.1}
  1441. z-location of {_location} is {z.wohnung17.1}
  1442. if {wohnung17.Besitzer} is "%player%":
  1443. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1444. else:
  1445. cancel event
  1446. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1447. # 17.2
  1448. on click on chest:
  1449. if player's tool is a golden_axe:
  1450. cancel event
  1451. else:
  1452. set {_location} to location of event-block
  1453. x-location of {_location} is {x.wohnung17.2}
  1454. y-location of {_location} is {y.wohnung17.2}
  1455. z-location of {_location} is {z.wohnung17.2}
  1456. if {wohnung17.Besitzer} is "%player%":
  1457. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1458. else:
  1459. cancel event
  1460. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1461. # 17.3
  1462. on click on chest:
  1463. if player's tool is a golden_axe:
  1464. cancel event
  1465. else:
  1466. set {_location} to location of event-block
  1467. x-location of {_location} is {x.wohnung17.3}
  1468. y-location of {_location} is {y.wohnung17.3}
  1469. z-location of {_location} is {z.wohnung17.3}
  1470. if {wohnung17.Besitzer} is "%player%":
  1471. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1472. else:
  1473. cancel event
  1474. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1475. # 17.4
  1476. on click on chest:
  1477. if player's tool is a golden_axe:
  1478. cancel event
  1479. else:
  1480. set {_location} to location of event-block
  1481. x-location of {_location} is {x.wohnung17.4}
  1482. y-location of {_location} is {y.wohnung17.4}
  1483. z-location of {_location} is {z.wohnung17.4}
  1484. if {wohnung17.Besitzer} is "%player%":
  1485. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1486. else:
  1487. cancel event
  1488. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1489. # 17.5
  1490. on click on chest:
  1491. if player's tool is a golden_axe:
  1492. cancel event
  1493. else:
  1494. set {_location} to location of event-block
  1495. x-location of {_location} is {x.wohnung17.5}
  1496. y-location of {_location} is {y.wohnung17.5}
  1497. z-location of {_location} is {z.wohnung17.5}
  1498. if {wohnung17.Besitzer} is "%player%":
  1499. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1500. else:
  1501. cancel event
  1502. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1503. # Wohnung 18
  1504. # 18.1
  1505. on click on chest:
  1506. if player's tool is a golden_axe:
  1507. cancel event
  1508. else:
  1509. set {_location} to location of event-block
  1510. x-location of {_location} is {x.wohnung18.1}
  1511. y-location of {_location} is {y.wohnung18.1}
  1512. z-location of {_location} is {z.wohnung18.1}
  1513. if {wohnung18.Besitzer} is "%player%":
  1514. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1515. else:
  1516. cancel event
  1517. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1518. # 18.2
  1519. on click on chest:
  1520. if player's tool is a golden_axe:
  1521. cancel event
  1522. else:
  1523. set {_location} to location of event-block
  1524. x-location of {_location} is {x.wohnung18.2}
  1525. y-location of {_location} is {y.wohnung18.2}
  1526. z-location of {_location} is {z.wohnung18.2}
  1527. if {wohnung18.Besitzer} is "%player%":
  1528. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1529. else:
  1530. cancel event
  1531. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1532. # 18.3
  1533. on click on chest:
  1534. if player's tool is a golden_axe:
  1535. cancel event
  1536. else:
  1537. set {_location} to location of event-block
  1538. x-location of {_location} is {x.wohnung18.3}
  1539. y-location of {_location} is {y.wohnung18.3}
  1540. z-location of {_location} is {z.wohnung18.3}
  1541. if {wohnung18.Besitzer} is "%player%":
  1542. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1543. else:
  1544. cancel event
  1545. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1546. # 18.4
  1547. on click on chest:
  1548. if player's tool is a golden_axe:
  1549. cancel event
  1550. else:
  1551. set {_location} to location of event-block
  1552. x-location of {_location} is {x.wohnung18.4}
  1553. y-location of {_location} is {y.wohnung18.4}
  1554. z-location of {_location} is {z.wohnung18.4}
  1555. if {wohnung18.Besitzer} is "%player%":
  1556. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1557. else:
  1558. cancel event
  1559. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1560. # 18.5
  1561. on click on chest:
  1562. if player's tool is a golden_axe:
  1563. cancel event
  1564. else:
  1565. set {_location} to location of event-block
  1566. x-location of {_location} is {x.wohnung18.5}
  1567. y-location of {_location} is {y.wohnung18.5}
  1568. z-location of {_location} is {z.wohnung18.5}
  1569. if {wohnung18.Besitzer} is "%player%":
  1570. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1571. else:
  1572. cancel event
  1573. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1574. # Wohnung 19
  1575. # 19.1
  1576. on click on chest:
  1577. if player's tool is a golden_axe:
  1578. cancel event
  1579. else:
  1580. set {_location} to location of event-block
  1581. x-location of {_location} is {x.wohnung19.1}
  1582. y-location of {_location} is {y.wohnung19.1}
  1583. z-location of {_location} is {z.wohnung19.1}
  1584. if {wohnung19.Besitzer} is "%player%":
  1585. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1586. else:
  1587. cancel event
  1588. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1589. # 19.2
  1590. on click on chest:
  1591. if player's tool is a golden_axe:
  1592. cancel event
  1593. else:
  1594. set {_location} to location of event-block
  1595. x-location of {_location} is {x.wohnung19.2}
  1596. y-location of {_location} is {y.wohnung19.2}
  1597. z-location of {_location} is {z.wohnung19.2}
  1598. if {wohnung19.Besitzer} is "%player%":
  1599. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1600. else:
  1601. cancel event
  1602. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1603. # 19.3
  1604. on click on chest:
  1605. if player's tool is a golden_axe:
  1606. cancel event
  1607. else:
  1608. set {_location} to location of event-block
  1609. x-location of {_location} is {x.wohnung19.3}
  1610. y-location of {_location} is {y.wohnung19.3}
  1611. z-location of {_location} is {z.wohnung19.3}
  1612. if {wohnung19.Besitzer} is "%player%":
  1613. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1614. else:
  1615. cancel event
  1616. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1617. # 19.4
  1618. on click on chest:
  1619. if player's tool is a golden_axe:
  1620. cancel event
  1621. else:
  1622. set {_location} to location of event-block
  1623. x-location of {_location} is {x.wohnung19.4}
  1624. y-location of {_location} is {y.wohnung19.4}
  1625. z-location of {_location} is {z.wohnung19.4}
  1626. if {wohnung19.Besitzer} is "%player%":
  1627. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1628. else:
  1629. cancel event
  1630. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1631. # 19.5
  1632. on click on chest:
  1633. if player's tool is a golden_axe:
  1634. cancel event
  1635. else:
  1636. set {_location} to location of event-block
  1637. x-location of {_location} is {x.wohnung19.5}
  1638. y-location of {_location} is {y.wohnung19.5}
  1639. z-location of {_location} is {z.wohnung19.5}
  1640. if {wohnung19.Besitzer} is "%player%":
  1641. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1642. else:
  1643. cancel event
  1644. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1645. # Wohnung 20
  1646. # 20.1
  1647. on click on chest:
  1648. if player's tool is a golden_axe:
  1649. cancel event
  1650. else:
  1651. set {_location} to location of event-block
  1652. x-location of {_location} is {x.wohnung20.1}
  1653. y-location of {_location} is {y.wohnung20.1}
  1654. z-location of {_location} is {z.wohnung20.1}
  1655. if {wohnung20.Besitzer} is "%player%":
  1656. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1657. else:
  1658. cancel event
  1659. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1660. # 20.2
  1661. on click on chest:
  1662. if player's tool is a golden_axe:
  1663. cancel event
  1664. else:
  1665. set {_location} to location of event-block
  1666. x-location of {_location} is {x.wohnung20.2}
  1667. y-location of {_location} is {y.wohnung20.2}
  1668. z-location of {_location} is {z.wohnung20.2}
  1669. if {wohnung20.Besitzer} is "%player%":
  1670. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1671. else:
  1672. cancel event
  1673. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1674. # 20.3
  1675. on click on chest:
  1676. if player's tool is a golden_axe:
  1677. cancel event
  1678. else:
  1679. set {_location} to location of event-block
  1680. x-location of {_location} is {x.wohnung20.3}
  1681. y-location of {_location} is {y.wohnung20.3}
  1682. z-location of {_location} is {z.wohnung20.3}
  1683. if {wohnung20.Besitzer} is "%player%":
  1684. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1685. else:
  1686. cancel event
  1687. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1688. # 20.4
  1689. on click on chest:
  1690. if player's tool is a golden_axe:
  1691. cancel event
  1692. else:
  1693. set {_location} to location of event-block
  1694. x-location of {_location} is {x.wohnung20.4}
  1695. y-location of {_location} is {y.wohnung20.4}
  1696. z-location of {_location} is {z.wohnung20.4}
  1697. if {wohnung20.Besitzer} is "%player%":
  1698. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1699. else:
  1700. cancel event
  1701. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1702. # 20.5
  1703. on click on chest:
  1704. if player's tool is a golden_axe:
  1705. cancel event
  1706. else:
  1707. set {_location} to location of event-block
  1708. x-location of {_location} is {x.wohnung20.5}
  1709. y-location of {_location} is {y.wohnung20.5}
  1710. z-location of {_location} is {z.wohnung20.5}
  1711. if {wohnung20.Besitzer} is "%player%":
  1712. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1713. else:
  1714. cancel event
  1715. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1716. # Wohnung 21
  1717. # 21.1
  1718. on click on chest:
  1719. if player's tool is a golden_axe:
  1720. cancel event
  1721. else:
  1722. set {_location} to location of event-block
  1723. x-location of {_location} is {x.wohnung21.1}
  1724. y-location of {_location} is {y.wohnung21.1}
  1725. z-location of {_location} is {z.wohnung21.1}
  1726. if {wohnung21.Besitzer} is "%player%":
  1727. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1728. else:
  1729. cancel event
  1730. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1731. # 21.2
  1732. on click on chest:
  1733. if player's tool is a golden_axe:
  1734. cancel event
  1735. else:
  1736. set {_location} to location of event-block
  1737. x-location of {_location} is {x.wohnung21.2}
  1738. y-location of {_location} is {y.wohnung21.2}
  1739. z-location of {_location} is {z.wohnung21.2}
  1740. if {wohnung21.Besitzer} is "%player%":
  1741. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1742. else:
  1743. cancel event
  1744. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1745. # 21.3
  1746. on click on chest:
  1747. if player's tool is a golden_axe:
  1748. cancel event
  1749. else:
  1750. set {_location} to location of event-block
  1751. x-location of {_location} is {x.wohnung21.3}
  1752. y-location of {_location} is {y.wohnung21.3}
  1753. z-location of {_location} is {z.wohnung21.3}
  1754. if {wohnung21.Besitzer} is "%player%":
  1755. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1756. else:
  1757. cancel event
  1758. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1759. # 21.4
  1760. on click on chest:
  1761. if player's tool is a golden_axe:
  1762. cancel event
  1763. else:
  1764. set {_location} to location of event-block
  1765. x-location of {_location} is {x.wohnung21.4}
  1766. y-location of {_location} is {y.wohnung21.4}
  1767. z-location of {_location} is {z.wohnung21.4}
  1768. if {wohnung21.Besitzer} is "%player%":
  1769. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1770. else:
  1771. cancel event
  1772. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1773. # 21.5
  1774. on click on chest:
  1775. if player's tool is a golden_axe:
  1776. cancel event
  1777. else:
  1778. set {_location} to location of event-block
  1779. x-location of {_location} is {x.wohnung21.5}
  1780. y-location of {_location} is {y.wohnung21.5}
  1781. z-location of {_location} is {z.wohnung21.5}
  1782. if {wohnung21.Besitzer} is "%player%":
  1783. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1784. else:
  1785. cancel event
  1786. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1787. # Wohnung 22
  1788. # 22.1
  1789. on click on chest:
  1790. if player's tool is a golden_axe:
  1791. cancel event
  1792. else:
  1793. set {_location} to location of event-block
  1794. x-location of {_location} is {x.wohnung22.1}
  1795. y-location of {_location} is {y.wohnung22.1}
  1796. z-location of {_location} is {z.wohnung22.1}
  1797. if {wohnung22.Besitzer} is "%player%":
  1798. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1799. else:
  1800. cancel event
  1801. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1802. # 22.2
  1803. on click on chest:
  1804. if player's tool is a golden_axe:
  1805. cancel event
  1806. else:
  1807. set {_location} to location of event-block
  1808. x-location of {_location} is {x.wohnung22.2}
  1809. y-location of {_location} is {y.wohnung22.2}
  1810. z-location of {_location} is {z.wohnung22.2}
  1811. if {wohnung22.Besitzer} is "%player%":
  1812. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1813. else:
  1814. cancel event
  1815. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1816. # 22.3
  1817. on click on chest:
  1818. if player's tool is a golden_axe:
  1819. cancel event
  1820. else:
  1821. set {_location} to location of event-block
  1822. x-location of {_location} is {x.wohnung22.3}
  1823. y-location of {_location} is {y.wohnung22.3}
  1824. z-location of {_location} is {z.wohnung22.3}
  1825. if {wohnung22.Besitzer} is "%player%":
  1826. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1827. else:
  1828. cancel event
  1829. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1830. # 22.4
  1831. on click on chest:
  1832. if player's tool is a golden_axe:
  1833. cancel event
  1834. else:
  1835. set {_location} to location of event-block
  1836. x-location of {_location} is {x.wohnung22.4}
  1837. y-location of {_location} is {y.wohnung22.4}
  1838. z-location of {_location} is {z.wohnung22.4}
  1839. if {wohnung22.Besitzer} is "%player%":
  1840. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1841. else:
  1842. cancel event
  1843. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1844. # 22.5
  1845. on click on chest:
  1846. if player's tool is a golden_axe:
  1847. cancel event
  1848. else:
  1849. set {_location} to location of event-block
  1850. x-location of {_location} is {x.wohnung22.5}
  1851. y-location of {_location} is {y.wohnung22.5}
  1852. z-location of {_location} is {z.wohnung22.5}
  1853. if {wohnung22.Besitzer} is "%player%":
  1854. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1855. else:
  1856. cancel event
  1857. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1858. # Wohnung 23
  1859. # 23.1
  1860. on click on chest:
  1861. if player's tool is a golden_axe:
  1862. cancel event
  1863. else:
  1864. set {_location} to location of event-block
  1865. x-location of {_location} is {x.wohnung23.1}
  1866. y-location of {_location} is {y.wohnung23.1}
  1867. z-location of {_location} is {z.wohnung23.1}
  1868. if {wohnung23.Besitzer} is "%player%":
  1869. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1870. else:
  1871. cancel event
  1872. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1873. # 23.2
  1874. on click on chest:
  1875. if player's tool is a golden_axe:
  1876. cancel event
  1877. else:
  1878. set {_location} to location of event-block
  1879. x-location of {_location} is {x.wohnung23.2}
  1880. y-location of {_location} is {y.wohnung23.2}
  1881. z-location of {_location} is {z.wohnung23.2}
  1882. if {wohnung23.Besitzer} is "%player%":
  1883. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1884. else:
  1885. cancel event
  1886. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1887. # 23.3
  1888. on click on chest:
  1889. if player's tool is a golden_axe:
  1890. cancel event
  1891. else:
  1892. set {_location} to location of event-block
  1893. x-location of {_location} is {x.wohnung23.3}
  1894. y-location of {_location} is {y.wohnung23.3}
  1895. z-location of {_location} is {z.wohnung23.3}
  1896. if {wohnung23.Besitzer} is "%player%":
  1897. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1898. else:
  1899. cancel event
  1900. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1901. # 23.4
  1902. on click on chest:
  1903. if player's tool is a golden_axe:
  1904. cancel event
  1905. else:
  1906. set {_location} to location of event-block
  1907. x-location of {_location} is {x.wohnung23.4}
  1908. y-location of {_location} is {y.wohnung23.4}
  1909. z-location of {_location} is {z.wohnung23.4}
  1910. if {wohnung23.Besitzer} is "%player%":
  1911. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1912. else:
  1913. cancel event
  1914. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1915. # 23.5
  1916. on click on chest:
  1917. if player's tool is a golden_axe:
  1918. cancel event
  1919. else:
  1920. set {_location} to location of event-block
  1921. x-location of {_location} is {x.wohnung23.5}
  1922. y-location of {_location} is {y.wohnung23.5}
  1923. z-location of {_location} is {z.wohnung23.5}
  1924. if {wohnung23.Besitzer} is "%player%":
  1925. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1926. else:
  1927. cancel event
  1928. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1929. # Wohnung 24
  1930. # 24.1
  1931. on click on chest:
  1932. if player's tool is a golden_axe:
  1933. cancel event
  1934. else:
  1935. set {_location} to location of event-block
  1936. x-location of {_location} is {x.wohnung24.1}
  1937. y-location of {_location} is {y.wohnung24.1}
  1938. z-location of {_location} is {z.wohnung24.1}
  1939. if {wohnung24.Besitzer} is "%player%":
  1940. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1941. else:
  1942. cancel event
  1943. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1944. # 24.2
  1945. on click on chest:
  1946. if player's tool is a golden_axe:
  1947. cancel event
  1948. else:
  1949. set {_location} to location of event-block
  1950. x-location of {_location} is {x.wohnung24.2}
  1951. y-location of {_location} is {y.wohnung24.2}
  1952. z-location of {_location} is {z.wohnung24.2}
  1953. if {wohnung24.Besitzer} is "%player%":
  1954. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1955. else:
  1956. cancel event
  1957. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1958. # 24.3
  1959. on click on chest:
  1960. if player's tool is a golden_axe:
  1961. cancel event
  1962. else:
  1963. set {_location} to location of event-block
  1964. x-location of {_location} is {x.wohnung24.3}
  1965. y-location of {_location} is {y.wohnung24.3}
  1966. z-location of {_location} is {z.wohnung24.3}
  1967. if {wohnung24.Besitzer} is "%player%":
  1968. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1969. else:
  1970. cancel event
  1971. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1972. # 24.4
  1973. on click on chest:
  1974. if player's tool is a golden_axe:
  1975. cancel event
  1976. else:
  1977. set {_location} to location of event-block
  1978. x-location of {_location} is {x.wohnung24.4}
  1979. y-location of {_location} is {y.wohnung24.4}
  1980. z-location of {_location} is {z.wohnung24.4}
  1981. if {wohnung24.Besitzer} is "%player%":
  1982. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1983. else:
  1984. cancel event
  1985. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1986. # 24.5
  1987. on click on chest:
  1988. if player's tool is a golden_axe:
  1989. cancel event
  1990. else:
  1991. set {_location} to location of event-block
  1992. x-location of {_location} is {x.wohnung24.5}
  1993. y-location of {_location} is {y.wohnung24.5}
  1994. z-location of {_location} is {z.wohnung24.5}
  1995. if {wohnung24.Besitzer} is "%player%":
  1996. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1997. else:
  1998. cancel event
  1999. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2000. # Wohnung 25
  2001. # 25.1
  2002. on click on chest:
  2003. if player's tool is a golden_axe:
  2004. cancel event
  2005. else:
  2006. set {_location} to location of event-block
  2007. x-location of {_location} is {x.wohnung25.1}
  2008. y-location of {_location} is {y.wohnung25.1}
  2009. z-location of {_location} is {z.wohnung25.1}
  2010. if {wohnung25.Besitzer} is "%player%":
  2011. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2012. else:
  2013. cancel event
  2014. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2015. # 25.2
  2016. on click on chest:
  2017. if player's tool is a golden_axe:
  2018. cancel event
  2019. else:
  2020. set {_location} to location of event-block
  2021. x-location of {_location} is {x.wohnung25.2}
  2022. y-location of {_location} is {y.wohnung25.2}
  2023. z-location of {_location} is {z.wohnung25.2}
  2024. if {wohnung25.Besitzer} is "%player%":
  2025. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2026. else:
  2027. cancel event
  2028. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2029. # 25.3
  2030. on click on chest:
  2031. if player's tool is a golden_axe:
  2032. cancel event
  2033. else:
  2034. set {_location} to location of event-block
  2035. x-location of {_location} is {x.wohnung25.3}
  2036. y-location of {_location} is {y.wohnung25.3}
  2037. z-location of {_location} is {z.wohnung25.3}
  2038. if {wohnung25.Besitzer} is "%player%":
  2039. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2040. else:
  2041. cancel event
  2042. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2043. # 25.4
  2044. on click on chest:
  2045. if player's tool is a golden_axe:
  2046. cancel event
  2047. else:
  2048. set {_location} to location of event-block
  2049. x-location of {_location} is {x.wohnung25.4}
  2050. y-location of {_location} is {y.wohnung25.4}
  2051. z-location of {_location} is {z.wohnung25.4}
  2052. if {wohnung25.Besitzer} is "%player%":
  2053. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2054. else:
  2055. cancel event
  2056. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2057. # 25.5
  2058. on click on chest:
  2059. if player's tool is a golden_axe:
  2060. cancel event
  2061. else:
  2062. set {_location} to location of event-block
  2063. x-location of {_location} is {x.wohnung25.5}
  2064. y-location of {_location} is {y.wohnung25.5}
  2065. z-location of {_location} is {z.wohnung25.5}
  2066. if {wohnung25.Besitzer} is "%player%":
  2067. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2068. else:
  2069. cancel event
  2070. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2071. # Wohnung 26
  2072. # 26.1
  2073. on click on chest:
  2074. if player's tool is a golden_axe:
  2075. cancel event
  2076. else:
  2077. set {_location} to location of event-block
  2078. x-location of {_location} is {x.wohnung26.1}
  2079. y-location of {_location} is {y.wohnung26.1}
  2080. z-location of {_location} is {z.wohnung26.1}
  2081. if {wohnung26.Besitzer} is "%player%":
  2082. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2083. else:
  2084. cancel event
  2085. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2086. # 26.2
  2087. on click on chest:
  2088. if player's tool is a golden_axe:
  2089. cancel event
  2090. else:
  2091. set {_location} to location of event-block
  2092. x-location of {_location} is {x.wohnung26.2}
  2093. y-location of {_location} is {y.wohnung26.2}
  2094. z-location of {_location} is {z.wohnung26.2}
  2095. if {wohnung26.Besitzer} is "%player%":
  2096. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2097. else:
  2098. cancel event
  2099. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2100. # 26.3
  2101. on click on chest:
  2102. if player's tool is a golden_axe:
  2103. cancel event
  2104. else:
  2105. set {_location} to location of event-block
  2106. x-location of {_location} is {x.wohnung26.3}
  2107. y-location of {_location} is {y.wohnung26.3}
  2108. z-location of {_location} is {z.wohnung26.3}
  2109. if {wohnung26.Besitzer} is "%player%":
  2110. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2111. else:
  2112. cancel event
  2113. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2114. # 26.4
  2115. on click on chest:
  2116. if player's tool is a golden_axe:
  2117. cancel event
  2118. else:
  2119. set {_location} to location of event-block
  2120. x-location of {_location} is {x.wohnung26.4}
  2121. y-location of {_location} is {y.wohnung26.4}
  2122. z-location of {_location} is {z.wohnung26.4}
  2123. if {wohnung26.Besitzer} is "%player%":
  2124. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2125. else:
  2126. cancel event
  2127. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2128. # 26.5
  2129. on click on chest:
  2130. if player's tool is a golden_axe:
  2131. cancel event
  2132. else:
  2133. set {_location} to location of event-block
  2134. x-location of {_location} is {x.wohnung26.5}
  2135. y-location of {_location} is {y.wohnung26.5}
  2136. z-location of {_location} is {z.wohnung26.5}
  2137. if {wohnung26.Besitzer} is "%player%":
  2138. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2139. else:
  2140. cancel event
  2141. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2142. # Wohnung 27
  2143. # 27.1
  2144. on click on chest:
  2145. if player's tool is a golden_axe:
  2146. cancel event
  2147. else:
  2148. set {_location} to location of event-block
  2149. x-location of {_location} is {x.wohnung27.1}
  2150. y-location of {_location} is {y.wohnung27.1}
  2151. z-location of {_location} is {z.wohnung27.1}
  2152. if {wohnung27.Besitzer} is "%player%":
  2153. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2154. else:
  2155. cancel event
  2156. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2157. # 27.2
  2158. on click on chest:
  2159. if player's tool is a golden_axe:
  2160. cancel event
  2161. else:
  2162. set {_location} to location of event-block
  2163. x-location of {_location} is {x.wohnung27.2}
  2164. y-location of {_location} is {y.wohnung27.2}
  2165. z-location of {_location} is {z.wohnung27.2}
  2166. if {wohnung27.Besitzer} is "%player%":
  2167. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2168. else:
  2169. cancel event
  2170. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2171. # 27.3
  2172. on click on chest:
  2173. if player's tool is a golden_axe:
  2174. cancel event
  2175. else:
  2176. set {_location} to location of event-block
  2177. x-location of {_location} is {x.wohnung27.3}
  2178. y-location of {_location} is {y.wohnung27.3}
  2179. z-location of {_location} is {z.wohnung27.3}
  2180. if {wohnung27.Besitzer} is "%player%":
  2181. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2182. else:
  2183. cancel event
  2184. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2185. # 27.4
  2186. on click on chest:
  2187. if player's tool is a golden_axe:
  2188. cancel event
  2189. else:
  2190. set {_location} to location of event-block
  2191. x-location of {_location} is {x.wohnung27.4}
  2192. y-location of {_location} is {y.wohnung27.4}
  2193. z-location of {_location} is {z.wohnung27.4}
  2194. if {wohnung27.Besitzer} is "%player%":
  2195. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2196. else:
  2197. cancel event
  2198. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2199. # 27.5
  2200. on click on chest:
  2201. if player's tool is a golden_axe:
  2202. cancel event
  2203. else:
  2204. set {_location} to location of event-block
  2205. x-location of {_location} is {x.wohnung27.5}
  2206. y-location of {_location} is {y.wohnung27.5}
  2207. z-location of {_location} is {z.wohnung27.5}
  2208. if {wohnung27.Besitzer} is "%player%":
  2209. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2210. else:
  2211. cancel event
  2212. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2213. # Wohnung 28
  2214. # 28.1
  2215. on click on chest:
  2216. if player's tool is a golden_axe:
  2217. cancel event
  2218. else:
  2219. set {_location} to location of event-block
  2220. x-location of {_location} is {x.wohnung28.1}
  2221. y-location of {_location} is {y.wohnung28.1}
  2222. z-location of {_location} is {z.wohnung28.1}
  2223. if {wohnung28.Besitzer} is "%player%":
  2224. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2225. else:
  2226. cancel event
  2227. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2228. # 28.2
  2229. on click on chest:
  2230. if player's tool is a golden_axe:
  2231. cancel event
  2232. else:
  2233. set {_location} to location of event-block
  2234. x-location of {_location} is {x.wohnung28.2}
  2235. y-location of {_location} is {y.wohnung28.2}
  2236. z-location of {_location} is {z.wohnung28.2}
  2237. if {wohnung28.Besitzer} is "%player%":
  2238. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2239. else:
  2240. cancel event
  2241. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2242. # 28.3
  2243. on click on chest:
  2244. if player's tool is a golden_axe:
  2245. cancel event
  2246. else:
  2247. set {_location} to location of event-block
  2248. x-location of {_location} is {x.wohnung28.3}
  2249. y-location of {_location} is {y.wohnung28.3}
  2250. z-location of {_location} is {z.wohnung28.3}
  2251. if {wohnung28.Besitzer} is "%player%":
  2252. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2253. else:
  2254. cancel event
  2255. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2256. # 28.4
  2257. on click on chest:
  2258. if player's tool is a golden_axe:
  2259. cancel event
  2260. else:
  2261. set {_location} to location of event-block
  2262. x-location of {_location} is {x.wohnung28.4}
  2263. y-location of {_location} is {y.wohnung28.4}
  2264. z-location of {_location} is {z.wohnung28.4}
  2265. if {wohnung28.Besitzer} is "%player%":
  2266. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2267. else:
  2268. cancel event
  2269. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2270. # 28.5
  2271. on click on chest:
  2272. if player's tool is a golden_axe:
  2273. cancel event
  2274. else:
  2275. set {_location} to location of event-block
  2276. x-location of {_location} is {x.wohnung28.5}
  2277. y-location of {_location} is {y.wohnung28.5}
  2278. z-location of {_location} is {z.wohnung28.5}
  2279. if {wohnung28.Besitzer} is "%player%":
  2280. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2281. else:
  2282. cancel event
  2283. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2284. # Wohnung 29
  2285. # 29.1
  2286. on click on chest:
  2287. if player's tool is a golden_axe:
  2288. cancel event
  2289. else:
  2290. set {_location} to location of event-block
  2291. x-location of {_location} is {x.wohnung29.1}
  2292. y-location of {_location} is {y.wohnung29.1}
  2293. z-location of {_location} is {z.wohnung29.1}
  2294. if {wohnung29.Besitzer} is "%player%":
  2295. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2296. else:
  2297. cancel event
  2298. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2299. # 29.2
  2300. on click on chest:
  2301. if player's tool is a golden_axe:
  2302. cancel event
  2303. else:
  2304. set {_location} to location of event-block
  2305. x-location of {_location} is {x.wohnung29.2}
  2306. y-location of {_location} is {y.wohnung29.2}
  2307. z-location of {_location} is {z.wohnung29.2}
  2308. if {wohnung29.Besitzer} is "%player%":
  2309. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2310. else:
  2311. cancel event
  2312. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2313. # 29.3
  2314. on click on chest:
  2315. if player's tool is a golden_axe:
  2316. cancel event
  2317. else:
  2318. set {_location} to location of event-block
  2319. x-location of {_location} is {x.wohnung29.3}
  2320. y-location of {_location} is {y.wohnung29.3}
  2321. z-location of {_location} is {z.wohnung29.3}
  2322. if {wohnung29.Besitzer} is "%player%":
  2323. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2324. else:
  2325. cancel event
  2326. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2327. # 29.4
  2328. on click on chest:
  2329. if player's tool is a golden_axe:
  2330. cancel event
  2331. else:
  2332. set {_location} to location of event-block
  2333. x-location of {_location} is {x.wohnung29.4}
  2334. y-location of {_location} is {y.wohnung29.4}
  2335. z-location of {_location} is {z.wohnung29.4}
  2336. if {wohnung29.Besitzer} is "%player%":
  2337. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2338. else:
  2339. cancel event
  2340. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2341. # 29.5
  2342. on click on chest:
  2343. if player's tool is a golden_axe:
  2344. cancel event
  2345. else:
  2346. set {_location} to location of event-block
  2347. x-location of {_location} is {x.wohnung29.5}
  2348. y-location of {_location} is {y.wohnung29.5}
  2349. z-location of {_location} is {z.wohnung29.5}
  2350. if {wohnung29.Besitzer} is "%player%":
  2351. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2352. else:
  2353. cancel event
  2354. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2355. # Wohnung 30
  2356. # 30.1
  2357. on click on chest:
  2358. if player's tool is a golden_axe:
  2359. cancel event
  2360. else:
  2361. set {_location} to location of event-block
  2362. x-location of {_location} is {x.wohnung30.1}
  2363. y-location of {_location} is {y.wohnung30.1}
  2364. z-location of {_location} is {z.wohnung30.1}
  2365. if {wohnung30.Besitzer} is "%player%":
  2366. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2367. else:
  2368. cancel event
  2369. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2370. # 30.2
  2371. on click on chest:
  2372. if player's tool is a golden_axe:
  2373. cancel event
  2374. else:
  2375. set {_location} to location of event-block
  2376. x-location of {_location} is {x.wohnung30.2}
  2377. y-location of {_location} is {y.wohnung30.2}
  2378. z-location of {_location} is {z.wohnung30.2}
  2379. if {wohnung30.Besitzer} is "%player%":
  2380. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2381. else:
  2382. cancel event
  2383. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2384. # 30.3
  2385. on click on chest:
  2386. if player's tool is a golden_axe:
  2387. cancel event
  2388. else:
  2389. set {_location} to location of event-block
  2390. x-location of {_location} is {x.wohnung30.3}
  2391. y-location of {_location} is {y.wohnung30.3}
  2392. z-location of {_location} is {z.wohnung30.3}
  2393. if {wohnung30.Besitzer} is "%player%":
  2394. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2395. else:
  2396. cancel event
  2397. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2398. # 30.4
  2399. on click on chest:
  2400. if player's tool is a golden_axe:
  2401. cancel event
  2402. else:
  2403. set {_location} to location of event-block
  2404. x-location of {_location} is {x.wohnung30.4}
  2405. y-location of {_location} is {y.wohnung30.4}
  2406. z-location of {_location} is {z.wohnung30.4}
  2407. if {wohnung30.Besitzer} is "%player%":
  2408. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2409. else:
  2410. cancel event
  2411. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2412. # 30.5
  2413. on click on chest:
  2414. if player's tool is a golden_axe:
  2415. cancel event
  2416. else:
  2417. set {_location} to location of event-block
  2418. x-location of {_location} is {x.wohnung30.5}
  2419. y-location of {_location} is {y.wohnung30.5}
  2420. z-location of {_location} is {z.wohnung30.5}
  2421. if {wohnung30.Besitzer} is "%player%":
  2422. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2423. else:
  2424. cancel event
  2425. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2426. # Wohnung 31
  2427. # 31.1
  2428. on click on chest:
  2429. if player's tool is a golden_axe:
  2430. cancel event
  2431. else:
  2432. set {_location} to location of event-block
  2433. x-location of {_location} is {x.wohnung31.1}
  2434. y-location of {_location} is {y.wohnung31.1}
  2435. z-location of {_location} is {z.wohnung31.1}
  2436. if {wohnung31.Besitzer} is "%player%":
  2437. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2438. else:
  2439. cancel event
  2440. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2441. # 31.2
  2442. on click on chest:
  2443. if player's tool is a golden_axe:
  2444. cancel event
  2445. else:
  2446. set {_location} to location of event-block
  2447. x-location of {_location} is {x.wohnung31.2}
  2448. y-location of {_location} is {y.wohnung31.2}
  2449. z-location of {_location} is {z.wohnung31.2}
  2450. if {wohnung31.Besitzer} is "%player%":
  2451. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2452. else:
  2453. cancel event
  2454. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2455. # 31.3
  2456. on click on chest:
  2457. if player's tool is a golden_axe:
  2458. cancel event
  2459. else:
  2460. set {_location} to location of event-block
  2461. x-location of {_location} is {x.wohnung31.3}
  2462. y-location of {_location} is {y.wohnung31.3}
  2463. z-location of {_location} is {z.wohnung31.3}
  2464. if {wohnung31.Besitzer} is "%player%":
  2465. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2466. else:
  2467. cancel event
  2468. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2469. # 31.4
  2470. on click on chest:
  2471. if player's tool is a golden_axe:
  2472. cancel event
  2473. else:
  2474. set {_location} to location of event-block
  2475. x-location of {_location} is {x.wohnung31.4}
  2476. y-location of {_location} is {y.wohnung31.4}
  2477. z-location of {_location} is {z.wohnung31.4}
  2478. if {wohnung31.Besitzer} is "%player%":
  2479. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2480. else:
  2481. cancel event
  2482. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2483. # 31.5
  2484. on click on chest:
  2485. if player's tool is a golden_axe:
  2486. cancel event
  2487. else:
  2488. set {_location} to location of event-block
  2489. x-location of {_location} is {x.wohnung31.5}
  2490. y-location of {_location} is {y.wohnung31.5}
  2491. z-location of {_location} is {z.wohnung31.5}
  2492. if {wohnung31.Besitzer} is "%player%":
  2493. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2494. else:
  2495. cancel event
  2496. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2497. # Wohnung 32
  2498. # 32.1
  2499. on click on chest:
  2500. if player's tool is a golden_axe:
  2501. cancel event
  2502. else:
  2503. set {_location} to location of event-block
  2504. x-location of {_location} is {x.wohnung32.1}
  2505. y-location of {_location} is {y.wohnung32.1}
  2506. z-location of {_location} is {z.wohnung32.1}
  2507. if {wohnung32.Besitzer} is "%player%":
  2508. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2509. else:
  2510. cancel event
  2511. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2512. # 32.2
  2513. on click on chest:
  2514. if player's tool is a golden_axe:
  2515. cancel event
  2516. else:
  2517. set {_location} to location of event-block
  2518. x-location of {_location} is {x.wohnung32.2}
  2519. y-location of {_location} is {y.wohnung32.2}
  2520. z-location of {_location} is {z.wohnung32.2}
  2521. if {wohnung32.Besitzer} is "%player%":
  2522. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2523. else:
  2524. cancel event
  2525. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2526. # 32.3
  2527. on click on chest:
  2528. if player's tool is a golden_axe:
  2529. cancel event
  2530. else:
  2531. set {_location} to location of event-block
  2532. x-location of {_location} is {x.wohnung32.3}
  2533. y-location of {_location} is {y.wohnung32.3}
  2534. z-location of {_location} is {z.wohnung32.3}
  2535. if {wohnung32.Besitzer} is "%player%":
  2536. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2537. else:
  2538. cancel event
  2539. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2540. # 32.4
  2541. on click on chest:
  2542. if player's tool is a golden_axe:
  2543. cancel event
  2544. else:
  2545. set {_location} to location of event-block
  2546. x-location of {_location} is {x.wohnung32.4}
  2547. y-location of {_location} is {y.wohnung32.4}
  2548. z-location of {_location} is {z.wohnung32.4}
  2549. if {wohnung32.Besitzer} is "%player%":
  2550. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2551. else:
  2552. cancel event
  2553. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2554. # 32.5
  2555. on click on chest:
  2556. if player's tool is a golden_axe:
  2557. cancel event
  2558. else:
  2559. set {_location} to location of event-block
  2560. x-location of {_location} is {x.wohnung32.5}
  2561. y-location of {_location} is {y.wohnung32.5}
  2562. z-location of {_location} is {z.wohnung32.5}
  2563. if {wohnung32.Besitzer} is "%player%":
  2564. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2565. else:
  2566. cancel event
  2567. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2568. # Wohnung 33
  2569. # 33.1
  2570. on click on chest:
  2571. if player's tool is a golden_axe:
  2572. cancel event
  2573. else:
  2574. set {_location} to location of event-block
  2575. x-location of {_location} is {x.wohnung33.1}
  2576. y-location of {_location} is {y.wohnung33.1}
  2577. z-location of {_location} is {z.wohnung33.1}
  2578. if {wohnung33.Besitzer} is "%player%":
  2579. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2580. else:
  2581. cancel event
  2582. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2583. # 33.2
  2584. on click on chest:
  2585. if player's tool is a golden_axe:
  2586. cancel event
  2587. else:
  2588. set {_location} to location of event-block
  2589. x-location of {_location} is {x.wohnung33.2}
  2590. y-location of {_location} is {y.wohnung33.2}
  2591. z-location of {_location} is {z.wohnung33.2}
  2592. if {wohnung33.Besitzer} is "%player%":
  2593. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2594. else:
  2595. cancel event
  2596. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2597. # 33.3
  2598. on click on chest:
  2599. if player's tool is a golden_axe:
  2600. cancel event
  2601. else:
  2602. set {_location} to location of event-block
  2603. x-location of {_location} is {x.wohnung33.3}
  2604. y-location of {_location} is {y.wohnung33.3}
  2605. z-location of {_location} is {z.wohnung33.3}
  2606. if {wohnung33.Besitzer} is "%player%":
  2607. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2608. else:
  2609. cancel event
  2610. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2611. # 33.4
  2612. on click on chest:
  2613. if player's tool is a golden_axe:
  2614. cancel event
  2615. else:
  2616. set {_location} to location of event-block
  2617. x-location of {_location} is {x.wohnung33.4}
  2618. y-location of {_location} is {y.wohnung33.4}
  2619. z-location of {_location} is {z.wohnung33.4}
  2620. if {wohnung33.Besitzer} is "%player%":
  2621. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2622. else:
  2623. cancel event
  2624. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2625. # 33.5
  2626. on click on chest:
  2627. if player's tool is a golden_axe:
  2628. cancel event
  2629. else:
  2630. set {_location} to location of event-block
  2631. x-location of {_location} is {x.wohnung33.5}
  2632. y-location of {_location} is {y.wohnung33.5}
  2633. z-location of {_location} is {z.wohnung33.5}
  2634. if {wohnung33.Besitzer} is "%player%":
  2635. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2636. else:
  2637. cancel event
  2638. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2639. # Wohnung 34
  2640. # 34.1
  2641. on click on chest:
  2642. if player's tool is a golden_axe:
  2643. cancel event
  2644. else:
  2645. set {_location} to location of event-block
  2646. x-location of {_location} is {x.wohnung34.1}
  2647. y-location of {_location} is {y.wohnung34.1}
  2648. z-location of {_location} is {z.wohnung34.1}
  2649. if {wohnung34.Besitzer} is "%player%":
  2650. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2651. if {ListFreundeWohnung34::*} contains "%player%":
  2652. send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
  2653. else:
  2654. cancel event
  2655. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2656. # 34.2
  2657. on click on chest:
  2658. if player's tool is a golden_axe:
  2659. cancel event
  2660. else:
  2661. set {_location} to location of event-block
  2662. x-location of {_location} is {x.wohnung34.2}
  2663. y-location of {_location} is {y.wohnung34.2}
  2664. z-location of {_location} is {z.wohnung34.2}
  2665. if {wohnung34.Besitzer} is "%player%":
  2666. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2667. if {ListFreundeWohnung34::*} contains "%player%":
  2668. send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
  2669. else:
  2670. cancel event
  2671. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2672. # 34.3
  2673. on click on chest:
  2674. if player's tool is a golden_axe:
  2675. cancel event
  2676. else:
  2677. set {_location} to location of event-block
  2678. x-location of {_location} is {x.wohnung34.3}
  2679. y-location of {_location} is {y.wohnung34.3}
  2680. z-location of {_location} is {z.wohnung34.3}
  2681. if {wohnung34.Besitzer} is "%player%":
  2682. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2683. if {ListFreundeWohnung34::*} contains "%player%":
  2684. send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
  2685. else:
  2686. cancel event
  2687. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2688. # 34.4
  2689. on click on chest:
  2690. if player's tool is a golden_axe:
  2691. cancel event
  2692. else:
  2693. set {_location} to location of event-block
  2694. x-location of {_location} is {x.wohnung34.4}
  2695. y-location of {_location} is {y.wohnung34.4}
  2696. z-location of {_location} is {z.wohnung34.4}
  2697. if {wohnung34.Besitzer} is "%player%":
  2698. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2699. if {ListFreundeWohnung34::*} contains "%player%":
  2700. send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
  2701. else:
  2702. cancel event
  2703. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2704. # 34.5
  2705. on click on chest:
  2706. if player's tool is a golden_axe:
  2707. cancel event
  2708. else:
  2709. set {_location} to location of event-block
  2710. x-location of {_location} is {x.wohnung34.5}
  2711. y-location of {_location} is {y.wohnung34.5}
  2712. z-location of {_location} is {z.wohnung34.5}
  2713. if {wohnung34.Besitzer} is "%player%":
  2714. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2715. if {ListFreundeWohnung34::*} contains "%player%":
  2716. send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
  2717. else:
  2718. cancel event
  2719. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2720. # Wohnung 30
  2721. # 35.1
  2722. on click on chest:
  2723. if player's tool is a golden_axe:
  2724. cancel event
  2725. else:
  2726. set {_location} to location of event-block
  2727. x-location of {_location} is {x.wohnung35.1}
  2728. y-location of {_location} is {y.wohnung35.1}
  2729. z-location of {_location} is {z.wohnung35.1}
  2730. if {wohnung35.Besitzer} is "%player%":
  2731. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2732. else:
  2733. cancel event
  2734. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2735. # 35.2
  2736. on click on chest:
  2737. if player's tool is a golden_axe:
  2738. cancel event
  2739. else:
  2740. set {_location} to location of event-block
  2741. x-location of {_location} is {x.wohnung35.2}
  2742. y-location of {_location} is {y.wohnung35.2}
  2743. z-location of {_location} is {z.wohnung35.2}
  2744. if {wohnung35.Besitzer} is "%player%":
  2745. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2746. else:
  2747. cancel event
  2748. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2749. # 35.3
  2750. on click on chest:
  2751. if player's tool is a golden_axe:
  2752. cancel event
  2753. else:
  2754. set {_location} to location of event-block
  2755. x-location of {_location} is {x.wohnung35.3}
  2756. y-location of {_location} is {y.wohnung35.3}
  2757. z-location of {_location} is {z.wohnung35.3}
  2758. if {wohnung35.Besitzer} is "%player%":
  2759. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2760. else:
  2761. cancel event
  2762. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2763. # 35.4
  2764. on click on chest:
  2765. if player's tool is a golden_axe:
  2766. cancel event
  2767. else:
  2768. set {_location} to location of event-block
  2769. x-location of {_location} is {x.wohnung35.4}
  2770. y-location of {_location} is {y.wohnung35.4}
  2771. z-location of {_location} is {z.wohnung35.4}
  2772. if {wohnung35.Besitzer} is "%player%":
  2773. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2774. else:
  2775. cancel event
  2776. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2777. # 35.5
  2778. on click on chest:
  2779. if player's tool is a golden_axe:
  2780. cancel event
  2781. else:
  2782. set {_location} to location of event-block
  2783. x-location of {_location} is {x.wohnung35.5}
  2784. y-location of {_location} is {y.wohnung35.5}
  2785. z-location of {_location} is {z.wohnung35.5}
  2786. if {wohnung35.Besitzer} is "%player%":
  2787. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2788. else:
  2789. cancel event
  2790. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2791. # Wohnung 36
  2792. # 36.1
  2793. on click on chest:
  2794. if player's tool is a golden_axe:
  2795. cancel event
  2796. else:
  2797. set {_location} to location of event-block
  2798. x-location of {_location} is {x.wohnung36.1}
  2799. y-location of {_location} is {y.wohnung36.1}
  2800. z-location of {_location} is {z.wohnung36.1}
  2801. if {wohnung36.Besitzer} is "%player%":
  2802. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2803. else:
  2804. cancel event
  2805. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2806. # 36.2
  2807. on click on chest:
  2808. if player's tool is a golden_axe:
  2809. cancel event
  2810. else:
  2811. set {_location} to location of event-block
  2812. x-location of {_location} is {x.wohnung36.2}
  2813. y-location of {_location} is {y.wohnung36.2}
  2814. z-location of {_location} is {z.wohnung36.2}
  2815. if {wohnung36.Besitzer} is "%player%":
  2816. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2817. else:
  2818. cancel event
  2819. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2820. # 36.3
  2821. on click on chest:
  2822. if player's tool is a golden_axe:
  2823. cancel event
  2824. else:
  2825. set {_location} to location of event-block
  2826. x-location of {_location} is {x.wohnung36.3}
  2827. y-location of {_location} is {y.wohnung36.3}
  2828. z-location of {_location} is {z.wohnung36.3}
  2829. if {wohnung36.Besitzer} is "%player%":
  2830. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2831. else:
  2832. cancel event
  2833. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2834. # 36.4
  2835. on click on chest:
  2836. if player's tool is a golden_axe:
  2837. cancel event
  2838. else:
  2839. set {_location} to location of event-block
  2840. x-location of {_location} is {x.wohnung36.4}
  2841. y-location of {_location} is {y.wohnung36.4}
  2842. z-location of {_location} is {z.wohnung36.4}
  2843. if {wohnung36.Besitzer} is "%player%":
  2844. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2845. else:
  2846. cancel event
  2847. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2848. # 36.5
  2849. on click on chest:
  2850. if player's tool is a golden_axe:
  2851. cancel event
  2852. else:
  2853. set {_location} to location of event-block
  2854. x-location of {_location} is {x.wohnung36.5}
  2855. y-location of {_location} is {y.wohnung36.5}
  2856. z-location of {_location} is {z.wohnung36.5}
  2857. if {wohnung36.Besitzer} is "%player%":
  2858. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2859. else:
  2860. cancel event
  2861. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2862. # Wohnung 37
  2863. # 37.1
  2864. on click on chest:
  2865. if player's tool is a golden_axe:
  2866. cancel event
  2867. else:
  2868. set {_location} to location of event-block
  2869. x-location of {_location} is {x.wohnung37.1}
  2870. y-location of {_location} is {y.wohnung37.1}
  2871. z-location of {_location} is {z.wohnung37.1}
  2872. if {wohnung37.Besitzer} is "%player%":
  2873. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2874. else:
  2875. cancel event
  2876. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2877. # 37.2
  2878. on click on chest:
  2879. if player's tool is a golden_axe:
  2880. cancel event
  2881. else:
  2882. set {_location} to location of event-block
  2883. x-location of {_location} is {x.wohnung37.2}
  2884. y-location of {_location} is {y.wohnung37.2}
  2885. z-location of {_location} is {z.wohnung37.2}
  2886. if {wohnung37.Besitzer} is "%player%":
  2887. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2888. else:
  2889. cancel event
  2890. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2891. # 37.3
  2892. on click on chest:
  2893. if player's tool is a golden_axe:
  2894. cancel event
  2895. else:
  2896. set {_location} to location of event-block
  2897. x-location of {_location} is {x.wohnung37.3}
  2898. y-location of {_location} is {y.wohnung37.3}
  2899. z-location of {_location} is {z.wohnung37.3}
  2900. if {wohnung37.Besitzer} is "%player%":
  2901. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2902. else:
  2903. cancel event
  2904. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2905. # 37.4
  2906. on click on chest:
  2907. if player's tool is a golden_axe:
  2908. cancel event
  2909. else:
  2910. set {_location} to location of event-block
  2911. x-location of {_location} is {x.wohnung37.4}
  2912. y-location of {_location} is {y.wohnung37.4}
  2913. z-location of {_location} is {z.wohnung37.4}
  2914. if {wohnung37.Besitzer} is "%player%":
  2915. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2916. else:
  2917. cancel event
  2918. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2919. # 37.5
  2920. on click on chest:
  2921. if player's tool is a golden_axe:
  2922. cancel event
  2923. else:
  2924. set {_location} to location of event-block
  2925. x-location of {_location} is {x.wohnung37.5}
  2926. y-location of {_location} is {y.wohnung37.5}
  2927. z-location of {_location} is {z.wohnung37.5}
  2928. if {wohnung37.Besitzer} is "%player%":
  2929. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2930. else:
  2931. cancel event
  2932. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2933. # Wohnung 38
  2934. # 38.1
  2935. on click on chest:
  2936. if player's tool is a golden_axe:
  2937. cancel event
  2938. else:
  2939. set {_location} to location of event-block
  2940. x-location of {_location} is {x.wohnung38.1}
  2941. y-location of {_location} is {y.wohnung38.1}
  2942. z-location of {_location} is {z.wohnung38.1}
  2943. if {wohnung38.Besitzer} is "%player%":
  2944. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2945. else:
  2946. cancel event
  2947. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2948. # 38.2
  2949. on click on chest:
  2950. if player's tool is a golden_axe:
  2951. cancel event
  2952. else:
  2953. set {_location} to location of event-block
  2954. x-location of {_location} is {x.wohnung38.2}
  2955. y-location of {_location} is {y.wohnung38.2}
  2956. z-location of {_location} is {z.wohnung38.2}
  2957. if {wohnung38.Besitzer} is "%player%":
  2958. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2959. else:
  2960. cancel event
  2961. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2962. # 38.3
  2963. on click on chest:
  2964. if player's tool is a golden_axe:
  2965. cancel event
  2966. else:
  2967. set {_location} to location of event-block
  2968. x-location of {_location} is {x.wohnung38.3}
  2969. y-location of {_location} is {y.wohnung38.3}
  2970. z-location of {_location} is {z.wohnung38.3}
  2971. if {wohnung38.Besitzer} is "%player%":
  2972. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2973. else:
  2974. cancel event
  2975. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2976. # 38.4
  2977. on click on chest:
  2978. if player's tool is a golden_axe:
  2979. cancel event
  2980. else:
  2981. set {_location} to location of event-block
  2982. x-location of {_location} is {x.wohnung38.4}
  2983. y-location of {_location} is {y.wohnung38.4}
  2984. z-location of {_location} is {z.wohnung38.4}
  2985. if {wohnung38.Besitzer} is "%player%":
  2986. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2987. else:
  2988. cancel event
  2989. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2990. # 38.5
  2991. on click on chest:
  2992. if player's tool is a golden_axe:
  2993. cancel event
  2994. else:
  2995. set {_location} to location of event-block
  2996. x-location of {_location} is {x.wohnung38.5}
  2997. y-location of {_location} is {y.wohnung38.5}
  2998. z-location of {_location} is {z.wohnung38.5}
  2999. if {wohnung38.Besitzer} is "%player%":
  3000. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3001. else:
  3002. cancel event
  3003. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3004. # Wohnung 39
  3005. # 39.1
  3006. on click on chest:
  3007. if player's tool is a golden_axe:
  3008. cancel event
  3009. else:
  3010. set {_location} to location of event-block
  3011. x-location of {_location} is {x.wohnung39.1}
  3012. y-location of {_location} is {y.wohnung39.1}
  3013. z-location of {_location} is {z.wohnung39.1}
  3014. if {wohnung39.Besitzer} is "%player%":
  3015. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3016. else:
  3017. cancel event
  3018. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3019. # 39.2
  3020. on click on chest:
  3021. if player's tool is a golden_axe:
  3022. cancel event
  3023. else:
  3024. set {_location} to location of event-block
  3025. x-location of {_location} is {x.wohnung39.2}
  3026. y-location of {_location} is {y.wohnung39.2}
  3027. z-location of {_location} is {z.wohnung39.2}
  3028. if {wohnung39.Besitzer} is "%player%":
  3029. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3030. else:
  3031. cancel event
  3032. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3033. # 39.3
  3034. on click on chest:
  3035. if player's tool is a golden_axe:
  3036. cancel event
  3037. else:
  3038. set {_location} to location of event-block
  3039. x-location of {_location} is {x.wohnung39.3}
  3040. y-location of {_location} is {y.wohnung39.3}
  3041. z-location of {_location} is {z.wohnung39.3}
  3042. if {wohnung39.Besitzer} is "%player%":
  3043. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3044. else:
  3045. cancel event
  3046. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3047. # 39.4
  3048. on click on chest:
  3049. if player's tool is a golden_axe:
  3050. cancel event
  3051. else:
  3052. set {_location} to location of event-block
  3053. x-location of {_location} is {x.wohnung39.4}
  3054. y-location of {_location} is {y.wohnung39.4}
  3055. z-location of {_location} is {z.wohnung39.4}
  3056. if {wohnung39.Besitzer} is "%player%":
  3057. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3058. else:
  3059. cancel event
  3060. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3061. # 39.5
  3062. on click on chest:
  3063. if player's tool is a golden_axe:
  3064. cancel event
  3065. else:
  3066. set {_location} to location of event-block
  3067. x-location of {_location} is {x.wohnung39.5}
  3068. y-location of {_location} is {y.wohnung39.5}
  3069. z-location of {_location} is {z.wohnung39.5}
  3070. if {wohnung39.Besitzer} is "%player%":
  3071. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3072. else:
  3073. cancel event
  3074. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3075. # Wohnung 40
  3076. # 40.1
  3077. on click on chest:
  3078. if player's tool is a golden_axe:
  3079. cancel event
  3080. else:
  3081. set {_location} to location of event-block
  3082. x-location of {_location} is {x.wohnung40.1}
  3083. y-location of {_location} is {y.wohnung40.1}
  3084. z-location of {_location} is {z.wohnung40.1}
  3085. if {wohnung40.Besitzer} is "%player%":
  3086. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3087. else:
  3088. cancel event
  3089. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3090. # 40.2
  3091. on click on chest:
  3092. if player's tool is a golden_axe:
  3093. cancel event
  3094. else:
  3095. set {_location} to location of event-block
  3096. x-location of {_location} is {x.wohnung40.2}
  3097. y-location of {_location} is {y.wohnung40.2}
  3098. z-location of {_location} is {z.wohnung40.2}
  3099. if {wohnung40.Besitzer} is "%player%":
  3100. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3101. else:
  3102. cancel event
  3103. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3104. # 40.3
  3105. on click on chest:
  3106. if player's tool is a golden_axe:
  3107. cancel event
  3108. else:
  3109. set {_location} to location of event-block
  3110. x-location of {_location} is {x.wohnung40.3}
  3111. y-location of {_location} is {y.wohnung40.3}
  3112. z-location of {_location} is {z.wohnung40.3}
  3113. if {wohnung40.Besitzer} is "%player%":
  3114. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3115. else:
  3116. cancel event
  3117. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3118. # 40.4
  3119. on click on chest:
  3120. if player's tool is a golden_axe:
  3121. cancel event
  3122. else:
  3123. set {_location} to location of event-block
  3124. x-location of {_location} is {x.wohnung40.4}
  3125. y-location of {_location} is {y.wohnung40.4}
  3126. z-location of {_location} is {z.wohnung40.4}
  3127. if {wohnung40.Besitzer} is "%player%":
  3128. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3129. else:
  3130. cancel event
  3131. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3132. # 40.5
  3133. on click on chest:
  3134. if player's tool is a golden_axe:
  3135. cancel event
  3136. else:
  3137. set {_location} to location of event-block
  3138. x-location of {_location} is {x.wohnung40.5}
  3139. y-location of {_location} is {y.wohnung40.5}
  3140. z-location of {_location} is {z.wohnung40.5}
  3141. if {wohnung40.Besitzer} is "%player%":
  3142. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3143. else:
  3144. cancel event
  3145. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3146. # Wohnung 41
  3147. # 41.1
  3148. on click on chest:
  3149. if player's tool is a golden_axe:
  3150. cancel event
  3151. else:
  3152. set {_location} to location of event-block
  3153. x-location of {_location} is {x.wohnung41.1}
  3154. y-location of {_location} is {y.wohnung41.1}
  3155. z-location of {_location} is {z.wohnung41.1}
  3156. if {wohnung41.Besitzer} is "%player%":
  3157. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3158. else:
  3159. cancel event
  3160. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3161. # 41.2
  3162. on click on chest:
  3163. if player's tool is a golden_axe:
  3164. cancel event
  3165. else:
  3166. set {_location} to location of event-block
  3167. x-location of {_location} is {x.wohnung41.2}
  3168. y-location of {_location} is {y.wohnung41.2}
  3169. z-location of {_location} is {z.wohnung41.2}
  3170. if {wohnung41.Besitzer} is "%player%":
  3171. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3172. else:
  3173. cancel event
  3174. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3175. # 41.3
  3176. on click on chest:
  3177. if player's tool is a golden_axe:
  3178. cancel event
  3179. else:
  3180. set {_location} to location of event-block
  3181. x-location of {_location} is {x.wohnung41.3}
  3182. y-location of {_location} is {y.wohnung41.3}
  3183. z-location of {_location} is {z.wohnung41.3}
  3184. if {wohnung41.Besitzer} is "%player%":
  3185. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3186. else:
  3187. cancel event
  3188. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3189. # 41.4
  3190. on click on chest:
  3191. if player's tool is a golden_axe:
  3192. cancel event
  3193. else:
  3194. set {_location} to location of event-block
  3195. x-location of {_location} is {x.wohnung41.4}
  3196. y-location of {_location} is {y.wohnung41.4}
  3197. z-location of {_location} is {z.wohnung41.4}
  3198. if {wohnung41.Besitzer} is "%player%":
  3199. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3200. else:
  3201. cancel event
  3202. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3203. # 41.5
  3204. on click on chest:
  3205. if player's tool is a golden_axe:
  3206. cancel event
  3207. else:
  3208. set {_location} to location of event-block
  3209. x-location of {_location} is {x.wohnung41.5}
  3210. y-location of {_location} is {y.wohnung41.5}
  3211. z-location of {_location} is {z.wohnung41.5}
  3212. if {wohnung41.Besitzer} is "%player%":
  3213. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3214. else:
  3215. cancel event
  3216. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3217. # Wohnung 42
  3218. # 42.1
  3219. on click on chest:
  3220. if player's tool is a golden_axe:
  3221. cancel event
  3222. else:
  3223. set {_location} to location of event-block
  3224. x-location of {_location} is {x.wohnung42.1}
  3225. y-location of {_location} is {y.wohnung42.1}
  3226. z-location of {_location} is {z.wohnung42.1}
  3227. if {wohnung42.Besitzer} is "%player%":
  3228. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3229. else:
  3230. cancel event
  3231. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3232. # 42.2
  3233. on click on chest:
  3234. if player's tool is a golden_axe:
  3235. cancel event
  3236. else:
  3237. set {_location} to location of event-block
  3238. x-location of {_location} is {x.wohnung42.2}
  3239. y-location of {_location} is {y.wohnung42.2}
  3240. z-location of {_location} is {z.wohnung42.2}
  3241. if {wohnung42.Besitzer} is "%player%":
  3242. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3243. else:
  3244. cancel event
  3245. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3246. # 42.3
  3247. on click on chest:
  3248. if player's tool is a golden_axe:
  3249. cancel event
  3250. else:
  3251. set {_location} to location of event-block
  3252. x-location of {_location} is {x.wohnung42.3}
  3253. y-location of {_location} is {y.wohnung42.3}
  3254. z-location of {_location} is {z.wohnung42.3}
  3255. if {wohnung42.Besitzer} is "%player%":
  3256. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3257. else:
  3258. cancel event
  3259. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3260. # 42.4
  3261. on click on chest:
  3262. if player's tool is a golden_axe:
  3263. cancel event
  3264. else:
  3265. set {_location} to location of event-block
  3266. x-location of {_location} is {x.wohnung42.4}
  3267. y-location of {_location} is {y.wohnung42.4}
  3268. z-location of {_location} is {z.wohnung42.4}
  3269. if {wohnung42.Besitzer} is "%player%":
  3270. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3271. else:
  3272. cancel event
  3273. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3274. # 42.5
  3275. on click on chest:
  3276. if player's tool is a golden_axe:
  3277. cancel event
  3278. else:
  3279. set {_location} to location of event-block
  3280. x-location of {_location} is {x.wohnung42.5}
  3281. y-location of {_location} is {y.wohnung42.5}
  3282. z-location of {_location} is {z.wohnung42.5}
  3283. if {wohnung42.Besitzer} is "%player%":
  3284. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3285. else:
  3286. cancel event
  3287. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3288. # Wohnung 43
  3289. # 43.1
  3290. on click on chest:
  3291. if player's tool is a golden_axe:
  3292. cancel event
  3293. else:
  3294. set {_location} to location of event-block
  3295. x-location of {_location} is {x.wohnung43.1}
  3296. y-location of {_location} is {y.wohnung43.1}
  3297. z-location of {_location} is {z.wohnung43.1}
  3298. if {wohnung43.Besitzer} is "%player%":
  3299. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3300. else:
  3301. cancel event
  3302. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3303. # 43.2
  3304. on click on chest:
  3305. if player's tool is a golden_axe:
  3306. cancel event
  3307. else:
  3308. set {_location} to location of event-block
  3309. x-location of {_location} is {x.wohnung43.2}
  3310. y-location of {_location} is {y.wohnung43.2}
  3311. z-location of {_location} is {z.wohnung43.2}
  3312. if {wohnung43.Besitzer} is "%player%":
  3313. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3314. else:
  3315. cancel event
  3316. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3317. # 43.3
  3318. on click on chest:
  3319. if player's tool is a golden_axe:
  3320. cancel event
  3321. else:
  3322. set {_location} to location of event-block
  3323. x-location of {_location} is {x.wohnung43.3}
  3324. y-location of {_location} is {y.wohnung43.3}
  3325. z-location of {_location} is {z.wohnung43.3}
  3326. if {wohnung43.Besitzer} is "%player%":
  3327. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3328. else:
  3329. cancel event
  3330. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3331. # 43.4
  3332. on click on chest:
  3333. if player's tool is a golden_axe:
  3334. cancel event
  3335. else:
  3336. set {_location} to location of event-block
  3337. x-location of {_location} is {x.wohnung43.4}
  3338. y-location of {_location} is {y.wohnung43.4}
  3339. z-location of {_location} is {z.wohnung43.4}
  3340. if {wohnung43.Besitzer} is "%player%":
  3341. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3342. else:
  3343. cancel event
  3344. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3345. # 43.5
  3346. on click on chest:
  3347. if player's tool is a golden_axe:
  3348. cancel event
  3349. else:
  3350. set {_location} to location of event-block
  3351. x-location of {_location} is {x.wohnung43.5}
  3352. y-location of {_location} is {y.wohnung43.5}
  3353. z-location of {_location} is {z.wohnung43.5}
  3354. if {wohnung43.Besitzer} is "%player%":
  3355. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3356. else:
  3357. cancel event
  3358. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3359. # Wohnung 44
  3360. # 44.1
  3361. on click on chest:
  3362. if player's tool is a golden_axe:
  3363. cancel event
  3364. else:
  3365. set {_location} to location of event-block
  3366. x-location of {_location} is {x.wohnung44.1}
  3367. y-location of {_location} is {y.wohnung44.1}
  3368. z-location of {_location} is {z.wohnung44.1}
  3369. if {wohnung44.Besitzer} is "%player%":
  3370. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3371. else:
  3372. cancel event
  3373. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3374. # 44.2
  3375. on click on chest:
  3376. if player's tool is a golden_axe:
  3377. cancel event
  3378. else:
  3379. set {_location} to location of event-block
  3380. x-location of {_location} is {x.wohnung44.2}
  3381. y-location of {_location} is {y.wohnung44.2}
  3382. z-location of {_location} is {z.wohnung44.2}
  3383. if {wohnung44.Besitzer} is "%player%":
  3384. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3385. else:
  3386. cancel event
  3387. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3388. # 44.3
  3389. on click on chest:
  3390. if player's tool is a golden_axe:
  3391. cancel event
  3392. else:
  3393. set {_location} to location of event-block
  3394. x-location of {_location} is {x.wohnung44.3}
  3395. y-location of {_location} is {y.wohnung44.3}
  3396. z-location of {_location} is {z.wohnung44.3}
  3397. if {wohnung44.Besitzer} is "%player%":
  3398. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3399. else:
  3400. cancel event
  3401. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3402. # 44.4
  3403. on click on chest:
  3404. if player's tool is a golden_axe:
  3405. cancel event
  3406. else:
  3407. set {_location} to location of event-block
  3408. x-location of {_location} is {x.wohnung44.4}
  3409. y-location of {_location} is {y.wohnung44.4}
  3410. z-location of {_location} is {z.wohnung44.4}
  3411. if {wohnung44.Besitzer} is "%player%":
  3412. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3413. else:
  3414. cancel event
  3415. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3416. # 44.5
  3417. on click on chest:
  3418. if player's tool is a golden_axe:
  3419. cancel event
  3420. else:
  3421. set {_location} to location of event-block
  3422. x-location of {_location} is {x.wohnung44.5}
  3423. y-location of {_location} is {y.wohnung44.5}
  3424. z-location of {_location} is {z.wohnung44.5}
  3425. if {wohnung44.Besitzer} is "%player%":
  3426. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3427. else:
  3428. cancel event
  3429. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3430. # Wohnung 45
  3431. # 45.1
  3432. on click on chest:
  3433. if player's tool is a golden_axe:
  3434. cancel event
  3435. else:
  3436. set {_location} to location of event-block
  3437. x-location of {_location} is {x.wohnung45.1}
  3438. y-location of {_location} is {y.wohnung45.1}
  3439. z-location of {_location} is {z.wohnung45.1}
  3440. if {wohnung45.Besitzer} is "%player%":
  3441. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3442. else:
  3443. cancel event
  3444. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3445. # 45.2
  3446. on click on chest:
  3447. if player's tool is a golden_axe:
  3448. cancel event
  3449. else:
  3450. set {_location} to location of event-block
  3451. x-location of {_location} is {x.wohnung45.2}
  3452. y-location of {_location} is {y.wohnung45.2}
  3453. z-location of {_location} is {z.wohnung45.2}
  3454. if {wohnung45.Besitzer} is "%player%":
  3455. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3456. else:
  3457. cancel event
  3458. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3459. # 45.3
  3460. on click on chest:
  3461. if player's tool is a golden_axe:
  3462. cancel event
  3463. else:
  3464. set {_location} to location of event-block
  3465. x-location of {_location} is {x.wohnung45.3}
  3466. y-location of {_location} is {y.wohnung45.3}
  3467. z-location of {_location} is {z.wohnung45.3}
  3468. if {wohnung45.Besitzer} is "%player%":
  3469. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3470. else:
  3471. cancel event
  3472. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3473. # 45.4
  3474. on click on chest:
  3475. if player's tool is a golden_axe:
  3476. cancel event
  3477. else:
  3478. set {_location} to location of event-block
  3479. x-location of {_location} is {x.wohnung45.4}
  3480. y-location of {_location} is {y.wohnung45.4}
  3481. z-location of {_location} is {z.wohnung45.4}
  3482. if {wohnung45.Besitzer} is "%player%":
  3483. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3484. else:
  3485. cancel event
  3486. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3487. # 45.5
  3488. on click on chest:
  3489. if player's tool is a golden_axe:
  3490. cancel event
  3491. else:
  3492. set {_location} to location of event-block
  3493. x-location of {_location} is {x.wohnung45.5}
  3494. y-location of {_location} is {y.wohnung45.5}
  3495. z-location of {_location} is {z.wohnung45.5}
  3496. if {wohnung45.Besitzer} is "%player%":
  3497. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3498. else:
  3499. cancel event
  3500. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3501. #
  3502. #
  3503. # HAUSKAUFEN
  3504. #
  3505. #
  3506. # Wohnung 1
  3507. command /5213215123hauskaufen [<Text>]:
  3508. trigger:
  3509. set {Silberstücke.%player's uuid%} to "%{Silberstücke.%player's uuid%}%" parsed as integer
  3510. if arg 1 is "1":
  3511. set {_Preis} to "%{wohnung1.Preis}%" parsed as integer
  3512. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3513. remove {_Preis} from {Silberstücke.%player's uuid%}
  3514. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3515. set {wohnung1.Besitzer} to "%player%"
  3516. else:
  3517. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3518. if arg 1 is "2":
  3519. set {_Preis} to "%{wohnung2.Preis}%" parsed as integer
  3520. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3521. remove {_Preis} from {Silberstücke.%player's uuid%}
  3522. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3523. set {wohnung2.Besitzer} to "%player%"
  3524. else:
  3525. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3526. if arg 1 is "3":
  3527. set {_Preis} to "%{wohnung3.Preis}%" parsed as integer
  3528. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3529. remove {_Preis} from {Silberstücke.%player's uuid%}
  3530. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3531. set {wohnung3.Besitzer} to "%player%"
  3532. else:
  3533. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3534. if arg 1 is "4":
  3535. set {_Preis} to "%{wohnung4.Preis}%" parsed as integer
  3536. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3537. remove {_Preis} from {Silberstücke.%player's uuid%}
  3538. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3539. set {wohnung4.Besitzer} to "%player%"
  3540. else:
  3541. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3542. if arg 1 is "5":
  3543. set {_Preis} to "%{wohnung5.Preis}%" parsed as integer
  3544. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3545. remove {_Preis} from {Silberstücke.%player's uuid%}
  3546. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3547. set {wohnung5.Besitzer} to "%player%"
  3548. else:
  3549. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3550. if arg 1 is "6":
  3551. set {_Preis} to "%{wohnung6.Preis}%" parsed as integer
  3552. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3553. remove {_Preis} from {Silberstücke.%player's uuid%}
  3554. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3555. set {wohnung6.Besitzer} to "%player%"
  3556. else:
  3557. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3558. if arg 1 is "7":
  3559. set {_Preis} to "%{wohnung7.Preis}%" parsed as integer
  3560. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3561. remove {_Preis} from {Silberstücke.%player's uuid%}
  3562. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3563. set {wohnung7.Besitzer} to "%player%"
  3564. else:
  3565. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3566. if arg 1 is "8":
  3567. set {_Preis} to "%{wohnung8.Preis}%" parsed as integer
  3568. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3569. remove {_Preis} from {Silberstücke.%player's uuid%}
  3570. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3571. set {wohnung8.Besitzer} to "%player%"
  3572. else:
  3573. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3574. if arg 1 is "9":
  3575. set {_Preis} to "%{wohnung9.Preis}%" parsed as integer
  3576. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3577. remove {_Preis} from {Silberstücke.%player's uuid%}
  3578. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3579. set {wohnung9.Besitzer} to "%player%"
  3580. else:
  3581. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3582. if arg 1 is "10":
  3583. set {_Preis} to "%{wohnung10.Preis}%" parsed as integer
  3584. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3585. remove {_Preis} from {Silberstücke.%player's uuid%}
  3586. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3587. set {wohnung10.Besitzer} to "%player%"
  3588. else:
  3589. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3590. if arg 1 is "11":
  3591. set {_Preis} to "%{wohnung11.Preis}%" parsed as integer
  3592. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3593. remove {_Preis} from {Silberstücke.%player's uuid%}
  3594. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3595. set {wohnung11.Besitzer} to "%player%"
  3596. else:
  3597. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3598. if arg 1 is "12":
  3599. set {_Preis} to "%{wohnung12.Preis}%" parsed as integer
  3600. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3601. remove {_Preis} from {Silberstücke.%player's uuid%}
  3602. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3603. set {wohnung12.Besitzer} to "%player%"
  3604. else:
  3605. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3606. if arg 1 is "13":
  3607. set {_Preis} to "%{wohnung13.Preis}%" parsed as integer
  3608. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3609. remove {_Preis} from {Silberstücke.%player's uuid%}
  3610. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3611. set {wohnung13.Besitzer} to "%player%"
  3612. else:
  3613. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3614. if arg 1 is "14":
  3615. set {_Preis} to "%{wohnung14.Preis}%" parsed as integer
  3616. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3617. remove {_Preis} from {Silberstücke.%player's uuid%}
  3618. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3619. set {wohnung14.Besitzer} to "%player%"
  3620. else:
  3621. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3622. if arg 1 is "15":
  3623. set {_Preis} to "%{wohnung15.Preis}%" parsed as integer
  3624. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3625. remove {_Preis} from {Silberstücke.%player's uuid%}
  3626. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3627. set {wohnung15.Besitzer} to "%player%"
  3628. else:
  3629. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3630. if arg 1 is "16":
  3631. set {_Preis} to "%{wohnung16.Preis}%" parsed as integer
  3632. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3633. remove {_Preis} from {Silberstücke.%player's uuid%}
  3634. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3635. set {wohnung16.Besitzer} to "%player%"
  3636. else:
  3637. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3638. if arg 1 is "17":
  3639. set {_Preis} to "%{wohnung17.Preis}%" parsed as integer
  3640. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3641. remove {_Preis} from {Silberstücke.%player's uuid%}
  3642. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3643. set {wohnung17.Besitzer} to "%player%"
  3644. else:
  3645. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3646. if arg 1 is "18":
  3647. set {_Preis} to "%{wohnung18.Preis}%" parsed as integer
  3648. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3649. remove {_Preis} from {Silberstücke.%player's uuid%}
  3650. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3651. set {wohnung18.Besitzer} to "%player%"
  3652. else:
  3653. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3654. if arg 1 is "19":
  3655. set {_Preis} to "%{wohnung19.Preis}%" parsed as integer
  3656. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3657. remove {_Preis} from {Silberstücke.%player's uuid%}
  3658. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3659. set {wohnung19.Besitzer} to "%player%"
  3660. else:
  3661. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3662. if arg 1 is "20":
  3663. set {_Preis} to "%{wohnung20.Preis}%" parsed as integer
  3664. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3665. remove {_Preis} from {Silberstücke.%player's uuid%}
  3666. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3667. set {wohnung20.Besitzer} to "%player%"
  3668. else:
  3669. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3670. if arg 1 is "21":
  3671. set {_Preis} to "%{wohnung21.Preis}%" parsed as integer
  3672. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3673. remove {_Preis} from {Silberstücke.%player's uuid%}
  3674. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3675. set {wohnung21.Besitzer} to "%player%"
  3676. else:
  3677. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3678. if arg 1 is "22":
  3679. set {_Preis} to "%{wohnung22.Preis}%" parsed as integer
  3680. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3681. remove {_Preis} from {Silberstücke.%player's uuid%}
  3682. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3683. set {wohnung22.Besitzer} to "%player%"
  3684. else:
  3685. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3686. if arg 1 is "23":
  3687. set {_Preis} to "%{wohnung23.Preis}%" parsed as integer
  3688. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3689. remove {_Preis} from {Silberstücke.%player's uuid%}
  3690. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3691. set {wohnung23.Besitzer} to "%player%"
  3692. else:
  3693. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3694. if arg 1 is "24":
  3695. set {_Preis} to "%{wohnung24.Preis}%" parsed as integer
  3696. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3697. remove {_Preis} from {Silberstücke.%player's uuid%}
  3698. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3699. set {wohnung24.Besitzer} to "%player%"
  3700. else:
  3701. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3702. if arg 1 is "25":
  3703. set {_Preis} to "%{wohnung25.Preis}%" parsed as integer
  3704. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3705. remove {_Preis} from {Silberstücke.%player's uuid%}
  3706. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3707. set {wohnung25.Besitzer} to "%player%"
  3708. else:
  3709. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3710. if arg 1 is "26":
  3711. set {_Preis} to "%{wohnung26.Preis}%" parsed as integer
  3712. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3713. remove {_Preis} from {Silberstücke.%player's uuid%}
  3714. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3715. set {wohnung26.Besitzer} to "%player%"
  3716. else:
  3717. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3718. if arg 1 is "27":
  3719. set {_Preis} to "%{wohnung27.Preis}%" parsed as integer
  3720. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3721. remove {_Preis} from {Silberstücke.%player's uuid%}
  3722. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3723. set {wohnung27.Besitzer} to "%player%"
  3724. else:
  3725. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3726. if arg 1 is "28":
  3727. set {_Preis} to "%{wohnung28.Preis}%" parsed as integer
  3728. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3729. remove {_Preis} from {Silberstücke.%player's uuid%}
  3730. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3731. set {wohnung28.Besitzer} to "%player%"
  3732. else:
  3733. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3734. if arg 1 is "29":
  3735. set {_Preis} to "%{wohnung29.Preis}%" parsed as integer
  3736. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3737. remove {_Preis} from {Silberstücke.%player's uuid%}
  3738. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3739. set {wohnung29.Besitzer} to "%player%"
  3740. else:
  3741. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3742. if arg 1 is "30":
  3743. set {_Preis} to "%{wohnung30.Preis}%" parsed as integer
  3744. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3745. remove {_Preis} from {Silberstücke.%player's uuid%}
  3746. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3747. set {wohnung30.Besitzer} to "%player%"
  3748. else:
  3749. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3750. if arg 1 is "31":
  3751. set {_Preis} to "%{wohnung31.Preis}%" parsed as integer
  3752. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3753. remove {_Preis} from {Silberstücke.%player's uuid%}
  3754. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3755. set {wohnung31.Besitzer} to "%player%"
  3756. else:
  3757. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3758. if arg 1 is "32":
  3759. set {_Preis} to "%{wohnung32.Preis}%" parsed as integer
  3760. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3761. remove {_Preis} from {Silberstücke.%player's uuid%}
  3762. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3763. set {wohnung32.Besitzer} to "%player%"
  3764. else:
  3765. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3766. if arg 1 is "33":
  3767. set {_Preis} to "%{wohnung33.Preis}%" parsed as integer
  3768. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3769. remove {_Preis} from {Silberstücke.%player's uuid%}
  3770. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3771. set {wohnung33.Besitzer} to "%player%"
  3772. else:
  3773. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3774. if arg 1 is "34":
  3775. set {_Preis} to "%{wohnung34.Preis}%" parsed as integer
  3776. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3777. remove {_Preis} from {Silberstücke.%player's uuid%}
  3778. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3779. set {wohnung34.Besitzer} to "%player%"
  3780. else:
  3781. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3782. if arg 1 is "35":
  3783. set {_Preis} to "%{wohnung35.Preis}%" parsed as integer
  3784. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3785. remove {_Preis} from {Silberstücke.%player's uuid%}
  3786. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3787. set {wohnung35.Besitzer} to "%player%"
  3788. else:
  3789. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3790. if arg 1 is "36":
  3791. set {_Preis} to "%{wohnung36.Preis}%" parsed as integer
  3792. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3793. remove {_Preis} from {Silberstücke.%player's uuid%}
  3794. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3795. set {wohnung36.Besitzer} to "%player%"
  3796. else:
  3797. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3798. if arg 1 is "37":
  3799. set {_Preis} to "%{wohnung37.Preis}%" parsed as integer
  3800. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3801. remove {_Preis} from {Silberstücke.%player's uuid%}
  3802. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3803. set {wohnung37.Besitzer} to "%player%"
  3804. else:
  3805. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3806. if arg 1 is "38":
  3807. set {_Preis} to "%{wohnung38.Preis}%" parsed as integer
  3808. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3809. remove {_Preis} from {Silberstücke.%player's uuid%}
  3810. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3811. set {wohnung38.Besitzer} to "%player%"
  3812. else:
  3813. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3814. if arg 1 is "39":
  3815. set {_Preis} to "%{wohnung39.Preis}%" parsed as integer
  3816. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3817. remove {_Preis} from {Silberstücke.%player's uuid%}
  3818. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3819. set {wohnung39.Besitzer} to "%player%"
  3820. else:
  3821. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3822. if arg 1 is "40":
  3823. set {_Preis} to "%{wohnung40.Preis}%" parsed as integer
  3824. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3825. remove {_Preis} from {Silberstücke.%player's uuid%}
  3826. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3827. set {wohnung40.Besitzer} to "%player%"
  3828. else:
  3829. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3830. if arg 1 is "41":
  3831. set {_Preis} to "%{wohnung41.Preis}%" parsed as integer
  3832. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3833. remove {_Preis} from {Silberstücke.%player's uuid%}
  3834. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3835. set {wohnung41.Besitzer} to "%player%"
  3836. else:
  3837. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3838. if arg 1 is "42":
  3839. set {_Preis} to "%{wohnung42.Preis}%" parsed as integer
  3840. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3841. remove {_Preis} from {Silberstücke.%player's uuid%}
  3842. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3843. set {wohnung42.Besitzer} to "%player%"
  3844. else:
  3845. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3846. if arg 1 is "43":
  3847. set {_Preis} to "%{wohnung43.Preis}%" parsed as integer
  3848. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3849. remove {_Preis} from {Silberstücke.%player's uuid%}
  3850. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3851. set {wohnung43.Besitzer} to "%player%"
  3852. else:
  3853. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3854. if arg 1 is "44":
  3855. set {_Preis} to "%{wohnung44.Preis}%" parsed as integer
  3856. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3857. remove {_Preis} from {Silberstücke.%player's uuid%}
  3858. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3859. set {wohnung44.Besitzer} to "%player%"
  3860. else:
  3861. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3862. if arg 1 is "45":
  3863. set {_Preis} to "%{wohnung45.Preis}%" parsed as integer
  3864. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  3865. remove {_Preis} from {Silberstücke.%player's uuid%}
  3866. send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
  3867. set {wohnung45.Besitzer} to "%player%"
  3868. else:
  3869. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
  3870. #
  3871. #
  3872. # HAUSWEITERVERKAUFEN
  3873. #
  3874. #
  3875.  
  3876. command /3424651323124hausverkaufen [<Text>]:
  3877. trigger:
  3878. if arg 1 is "1":
  3879. set {Wohnung1.Preissetzen.%player%} to true
  3880. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3881. wait 15 seconds
  3882. if {Wohnung1.Preissetzen.%player%} is true:
  3883. set {Wohnung1.Preissetzen.%player%} to false
  3884. if arg 1 is "2":
  3885. set {Wohnung2.Preissetzen.%player%} to true
  3886. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3887. wait 15 seconds
  3888. if {Wohnung2.Preissetzen.%player%} is true:
  3889. set {Wohnung2.Preissetzen.%player%} to false
  3890. if arg 1 is "3":
  3891. set {Wohnung3.Preissetzen.%player%} to true
  3892. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3893. wait 15 seconds
  3894. if {Wohnung3.Preissetzen.%player%} is true:
  3895. set {Wohnung3.Preissetzen.%player%} to false
  3896. if arg 1 is "4":
  3897. set {Wohnung4.Preissetzen.%player%} to true
  3898. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3899. wait 15 seconds
  3900. if {Wohnung4.Preissetzen.%player%} is true:
  3901. set {Wohnung4.Preissetzen.%player%} to false
  3902. if arg 1 is "5":
  3903. set {Wohnung5.Preissetzen.%player%} to true
  3904. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3905. wait 15 seconds
  3906. if {Wohnung5.Preissetzen.%player%} is true:
  3907. set {Wohnung5.Preissetzen.%player%} to false
  3908. if arg 1 is "6":
  3909. set {Wohnung6.Preissetzen.%player%} to true
  3910. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3911. wait 15 seconds
  3912. if {Wohnung6.Preissetzen.%player%} is true:
  3913. set {Wohnung6.Preissetzen.%player%} to false
  3914. if arg 1 is "7":
  3915. set {Wohnung7.Preissetzen.%player%} to true
  3916. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3917. wait 15 seconds
  3918. if {Wohnung7.Preissetzen.%player%} is true:
  3919. set {Wohnung7.Preissetzen.%player%} to false
  3920. if arg 1 is "8":
  3921. set {Wohnung8.Preissetzen.%player%} to true
  3922. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3923. wait 15 seconds
  3924. if {Wohnung8.Preissetzen.%player%} is true:
  3925. set {Wohnung8.Preissetzen.%player%} to false
  3926. if arg 1 is "9":
  3927. set {Wohnung9.Preissetzen.%player%} to true
  3928. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3929. wait 15 seconds
  3930. if {Wohnung9.Preissetzen.%player%} is true:
  3931. set {Wohnung9.Preissetzen.%player%} to false
  3932. if arg 1 is "10":
  3933. set {Wohnung10.Preissetzen.%player%} to true
  3934. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3935. wait 15 seconds
  3936. if {Wohnung10.Preissetzen.%player%} is true:
  3937. set {Wohnung10.Preissetzen.%player%} to false
  3938. if arg 1 is "11":
  3939. set {Wohnung11.Preissetzen.%player%} to true
  3940. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3941. wait 15 seconds
  3942. if {Wohnung11.Preissetzen.%player%} is true:
  3943. set {Wohnung11.Preissetzen.%player%} to false
  3944. if arg 1 is "12":
  3945. set {Wohnung12.Preissetzen.%player%} to true
  3946. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3947. wait 15 seconds
  3948. if {Wohnung12.Preissetzen.%player%} is true:
  3949. set {Wohnung12.Preissetzen.%player%} to false
  3950. if arg 1 is "13":
  3951. set {Wohnung13.Preissetzen.%player%} to true
  3952. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3953. wait 15 seconds
  3954. if {Wohnung13.Preissetzen.%player%} is true:
  3955. set {Wohnung13.Preissetzen.%player%} to false
  3956. if arg 1 is "14":
  3957. set {Wohnung14.Preissetzen.%player%} to true
  3958. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3959. wait 15 seconds
  3960. if {Wohnung14.Preissetzen.%player%} is true:
  3961. set {Wohnung14.Preissetzen.%player%} to false
  3962. if arg 1 is "15":
  3963. set {Wohnung15.Preissetzen.%player%} to true
  3964. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3965. wait 15 seconds
  3966. if {Wohnung15.Preissetzen.%player%} is true:
  3967. set {Wohnung15.Preissetzen.%player%} to false
  3968. if arg 1 is "16":
  3969. set {Wohnung16.Preissetzen.%player%} to true
  3970. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3971. wait 15 seconds
  3972. if {Wohnung16.Preissetzen.%player%} is true:
  3973. set {Wohnung16.Preissetzen.%player%} to false
  3974. if arg 1 is "17":
  3975. set {Wohnung17.Preissetzen.%player%} to true
  3976. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3977. wait 15 seconds
  3978. if {Wohnung17.Preissetzen.%player%} is true:
  3979. set {Wohnung17.Preissetzen.%player%} to false
  3980. if arg 1 is "18":
  3981. set {Wohnung18.Preissetzen.%player%} to true
  3982. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3983. wait 15 seconds
  3984. if {Wohnung18.Preissetzen.%player%} is true:
  3985. set {Wohnung18.Preissetzen.%player%} to false
  3986. if arg 1 is "19":
  3987. set {Wohnung19.Preissetzen.%player%} to true
  3988. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3989. wait 15 seconds
  3990. if {Wohnung19.Preissetzen.%player%} is true:
  3991. set {Wohnung19.Preissetzen.%player%} to false
  3992. if arg 1 is "20":
  3993. set {Wohnung20.Preissetzen.%player%} to true
  3994. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3995. wait 15 seconds
  3996. if {Wohnung20.Preissetzen.%player%} is true:
  3997. set {Wohnung20.Preissetzen.%player%} to false
  3998. if arg 1 is "21":
  3999. set {Wohnung21.Preissetzen.%player%} to true
  4000. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4001. wait 15 seconds
  4002. if {Wohnung21.Preissetzen.%player%} is true:
  4003. set {Wohnung21.Preissetzen.%player%} to false
  4004. if arg 1 is "22":
  4005. set {Wohnung22.Preissetzen.%player%} to true
  4006. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4007. wait 15 seconds
  4008. if {Wohnung22.Preissetzen.%player%} is true:
  4009. set {Wohnung22.Preissetzen.%player%} to false
  4010. if arg 1 is "23":
  4011. set {Wohnung23.Preissetzen.%player%} to true
  4012. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4013. wait 15 seconds
  4014. if {Wohnung23.Preissetzen.%player%} is true:
  4015. set {Wohnung23.Preissetzen.%player%} to false
  4016. if arg 1 is "24":
  4017. set {Wohnung24.Preissetzen.%player%} to true
  4018. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4019. wait 15 seconds
  4020. if {Wohnung24.Preissetzen.%player%} is true:
  4021. set {Wohnung24.Preissetzen.%player%} to false
  4022. if arg 1 is "25":
  4023. set {Wohnung25.Preissetzen.%player%} to true
  4024. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4025. wait 15 seconds
  4026. if {Wohnung25.Preissetzen.%player%} is true:
  4027. set {Wohnung25.Preissetzen.%player%} to false
  4028. if arg 1 is "26":
  4029. set {Wohnung26.Preissetzen.%player%} to true
  4030. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4031. wait 15 seconds
  4032. if {Wohnung26.Preissetzen.%player%} is true:
  4033. set {Wohnung26.Preissetzen.%player%} to false
  4034. if arg 1 is "27":
  4035. set {Wohnung27.Preissetzen.%player%} to true
  4036. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4037. wait 15 seconds
  4038. if {Wohnung27.Preissetzen.%player%} is true:
  4039. set {Wohnung27.Preissetzen.%player%} to false
  4040. if arg 1 is "28":
  4041. set {Wohnung28.Preissetzen.%player%} to true
  4042. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4043. wait 15 seconds
  4044. if {Wohnung28.Preissetzen.%player%} is true:
  4045. set {Wohnung28.Preissetzen.%player%} to false
  4046. if arg 1 is "29":
  4047. set {Wohnung29.Preissetzen.%player%} to true
  4048. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4049. wait 15 seconds
  4050. if {Wohnung29.Preissetzen.%player%} is true:
  4051. set {Wohnung29.Preissetzen.%player%} to false
  4052. if arg 1 is "30":
  4053. set {Wohnung30.Preissetzen.%player%} to true
  4054. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4055. wait 15 seconds
  4056. if {Wohnung30.Preissetzen.%player%} is true:
  4057. set {Wohnung30.Preissetzen.%player%} to false
  4058. if arg 1 is "31":
  4059. set {Wohnung31.Preissetzen.%player%} to true
  4060. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4061. wait 15 seconds
  4062. if {Wohnung31.Preissetzen.%player%} is true:
  4063. set {Wohnung31.Preissetzen.%player%} to false
  4064. if arg 1 is "32":
  4065. set {Wohnung32.Preissetzen.%player%} to true
  4066. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4067. wait 15 seconds
  4068. if {Wohnung32.Preissetzen.%player%} is true:
  4069. set {Wohnung32.Preissetzen.%player%} to false
  4070. if arg 1 is "33":
  4071. set {Wohnung33.Preissetzen.%player%} to true
  4072. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4073. wait 15 seconds
  4074. if {Wohnung33.Preissetzen.%player%} is true:
  4075. set {Wohnung33.Preissetzen.%player%} to false
  4076. if arg 1 is "34":
  4077. set {Wohnung34.Preissetzen.%player%} to true
  4078. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4079. wait 15 seconds
  4080. if {Wohnung34.Preissetzen.%player%} is true:
  4081. set {Wohnung34.Preissetzen.%player%} to false
  4082. if arg 1 is "35":
  4083. set {Wohnung35.Preissetzen.%player%} to true
  4084. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4085. wait 15 seconds
  4086. if {Wohnung35.Preissetzen.%player%} is true:
  4087. set {Wohnung35.Preissetzen.%player%} to false
  4088. if arg 1 is "36":
  4089. set {Wohnung36.Preissetzen.%player%} to true
  4090. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4091. wait 15 seconds
  4092. if {Wohnung36.Preissetzen.%player%} is true:
  4093. set {Wohnung36.Preissetzen.%player%} to false
  4094. if arg 1 is "37":
  4095. set {Wohnung37.Preissetzen.%player%} to true
  4096. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4097. wait 15 seconds
  4098. if {Wohnung37.Preissetzen.%player%} is true:
  4099. set {Wohnung37.Preissetzen.%player%} to false
  4100. if arg 1 is "38":
  4101. set {Wohnung38.Preissetzen.%player%} to true
  4102. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4103. wait 15 seconds
  4104. if {Wohnung38.Preissetzen.%player%} is true:
  4105. set {Wohnung38.Preissetzen.%player%} to false
  4106. if arg 1 is "39":
  4107. set {Wohnung39.Preissetzen.%player%} to true
  4108. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4109. wait 15 seconds
  4110. if {Wohnung39.Preissetzen.%player%} is true:
  4111. set {Wohnung39.Preissetzen.%player%} to false
  4112. if arg 1 is "40":
  4113. set {Wohnung40.Preissetzen.%player%} to true
  4114. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4115. wait 15 seconds
  4116. if {Wohnung40.Preissetzen.%player%} is true:
  4117. set {Wohnung40.Preissetzen.%player%} to false
  4118. if arg 1 is "41":
  4119. set {Wohnung41.Preissetzen.%player%} to true
  4120. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4121. wait 15 seconds
  4122. if {Wohnung41.Preissetzen.%player%} is true:
  4123. set {Wohnung41.Preissetzen.%player%} to false
  4124. if arg 1 is "42":
  4125. set {Wohnung42.Preissetzen.%player%} to true
  4126. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4127. wait 15 seconds
  4128. if {Wohnung42.Preissetzen.%player%} is true:
  4129. set {Wohnung42.Preissetzen.%player%} to false
  4130. if arg 1 is "43":
  4131. set {Wohnung43.Preissetzen.%player%} to true
  4132. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4133. wait 15 seconds
  4134. if {Wohnung43.Preissetzen.%player%} is true:
  4135. set {Wohnung43.Preissetzen.%player%} to false
  4136. if arg 1 is "44":
  4137. set {Wohnung44.Preissetzen.%player%} to true
  4138. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4139. wait 15 seconds
  4140. if {Wohnung44.Preissetzen.%player%} is true:
  4141. set {Wohnung44.Preissetzen.%player%} to false
  4142. if arg 1 is "45":
  4143. set {Wohnung45.Preissetzen.%player%} to true
  4144. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  4145. wait 15 seconds
  4146. if {Wohnung45.Preissetzen.%player%} is true:
  4147. set {Wohnung45.Preissetzen.%player%} to false
  4148.  
  4149.  
  4150.  
  4151.  
  4152. on chat:
  4153. if {Wohnung1.Preissetzen.%player%} is true:
  4154. cancel event
  4155. set {_message} to message
  4156. if {_message} is "cancel":
  4157. set {Wohnung1.Preissetzen.%player%} to false
  4158. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4159. stop trigger
  4160. else:
  4161. set {Wohnung1.Wiederverkaufspreis} to {_message}
  4162. execute player command "67812309412079931hausverkaufen 1 %{Wohnung1.Wiederverkaufspreis}%"
  4163. if {Wohnung2.Preissetzen.%player%} is true:
  4164. cancel event
  4165. set {_message} to message
  4166. if {_message} is "cancel":
  4167. set {Wohnung2.Preissetzen.%player%} to false
  4168. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4169. stop trigger
  4170. else:
  4171. set {Wohnung2.Wiederverkaufspreis} to {_message}
  4172. execute player command "67812309412079931hausverkaufen 2 %{Wohnung2.Wiederverkaufspreis}%"
  4173. if {Wohnung3.Preissetzen.%player%} is true:
  4174. cancel event
  4175. set {_message} to message
  4176. if {_message} is "cancel":
  4177. set {Wohnung3.Preissetzen.%player%} to false
  4178. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4179. stop trigger
  4180. else:
  4181. set {Wohnung3.Wiederverkaufspreis} to {_message}
  4182. execute player command "67812309412079931hausverkaufen 3 %{Wohnung3.Wiederverkaufspreis}%"
  4183. if {Wohnung4.Preissetzen.%player%} is true:
  4184. cancel event
  4185. set {_message} to message
  4186. if {_message} is "cancel":
  4187. set {Wohnung4.Preissetzen.%player%} to false
  4188. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4189. stop trigger
  4190. else:
  4191. set {Wohnung4.Wiederverkaufspreis} to {_message}
  4192. execute player command "67812309412079931hausverkaufen 4 %{Wohnung4.Wiederverkaufspreis}%"
  4193. if {Wohnung5.Preissetzen.%player%} is true:
  4194. cancel event
  4195. set {_message} to message
  4196. if {_message} is "cancel":
  4197. set {Wohnung5.Preissetzen.%player%} to false
  4198. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4199. stop trigger
  4200. else:
  4201. set {Wohnung5.Wiederverkaufspreis} to {_message}
  4202. execute player command "67812309412079931hausverkaufen 5 %{Wohnung5.Wiederverkaufspreis}%"
  4203. if {Wohnung6.Preissetzen.%player%} is true:
  4204. cancel event
  4205. set {_message} to message
  4206. if {_message} is "cancel":
  4207. set {Wohnung6.Preissetzen.%player%} to false
  4208. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4209. stop trigger
  4210. else:
  4211. set {Wohnung6.Wiederverkaufspreis} to {_message}
  4212. execute player command "67812309412079931hausverkaufen 6 %{Wohnung6.Wiederverkaufspreis}%"
  4213. if {Wohnung7.Preissetzen.%player%} is true:
  4214. cancel event
  4215. set {_message} to message
  4216. if {_message} is "cancel":
  4217. set {Wohnung7.Preissetzen.%player%} to false
  4218. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4219. stop trigger
  4220. else:
  4221. set {Wohnung7.Wiederverkaufspreis} to {_message}
  4222. execute player command "67812309412079931hausverkaufen 7 %{Wohnung7.Wiederverkaufspreis}%"
  4223. if {Wohnung8.Preissetzen.%player%} is true:
  4224. cancel event
  4225. set {_message} to message
  4226. if {_message} is "cancel":
  4227. set {Wohnung8.Preissetzen.%player%} to false
  4228. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4229. stop trigger
  4230. else:
  4231. set {Wohnung8.Wiederverkaufspreis} to {_message}
  4232. execute player command "67812309412079931hausverkaufen 8 %{Wohnung8.Wiederverkaufspreis}%"
  4233. if {Wohnung9.Preissetzen.%player%} is true:
  4234. cancel event
  4235. set {_message} to message
  4236. if {_message} is "cancel":
  4237. set {Wohnung9.Preissetzen.%player%} to false
  4238. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4239. stop trigger
  4240. else:
  4241. set {Wohnung9.Wiederverkaufspreis} to {_message}
  4242. execute player command "67812309412079931hausverkaufen 9 %{Wohnung9.Wiederverkaufspreis}%"
  4243. if {Wohnung10.Preissetzen.%player%} is true:
  4244. cancel event
  4245. set {_message} to message
  4246. if {_message} is "cancel":
  4247. set {Wohnung10.Preissetzen.%player%} to false
  4248. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4249. stop trigger
  4250. else:
  4251. set {Wohnung10.Wiederverkaufspreis} to {_message}
  4252. execute player command "67812309412079931hausverkaufen 10 %{Wohnung10.Wiederverkaufspreis}%"
  4253. if {Wohnung11.Preissetzen.%player%} is true:
  4254. cancel event
  4255. set {_message} to message
  4256. if {_message} is "cancel":
  4257. set {Wohnung11.Preissetzen.%player%} to false
  4258. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4259. stop trigger
  4260. else:
  4261. set {Wohnung11.Wiederverkaufspreis} to {_message}
  4262. execute player command "67812309412079931hausverkaufen 11 %{Wohnung11.Wiederverkaufspreis}%"
  4263. if {Wohnung12.Preissetzen.%player%} is true:
  4264. cancel event
  4265. set {_message} to message
  4266. if {_message} is "cancel":
  4267. set {Wohnung12.Preissetzen.%player%} to false
  4268. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4269. stop trigger
  4270. else:
  4271. set {Wohnung12.Wiederverkaufspreis} to {_message}
  4272. execute player command "67812309412079931hausverkaufen 12 %{Wohnung12.Wiederverkaufspreis}%"
  4273. if {Wohnung13.Preissetzen.%player%} is true:
  4274. cancel event
  4275. set {_message} to message
  4276. if {_message} is "cancel":
  4277. set {Wohnung13.Preissetzen.%player%} to false
  4278. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4279. stop trigger
  4280. else:
  4281. set {Wohnung13.Wiederverkaufspreis} to {_message}
  4282. execute player command "67812309412079931hausverkaufen 13 %{Wohnung13.Wiederverkaufspreis}%"
  4283. if {Wohnung14.Preissetzen.%player%} is true:
  4284. cancel event
  4285. set {_message} to message
  4286. if {_message} is "cancel":
  4287. set {Wohnung14.Preissetzen.%player%} to false
  4288. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4289. stop trigger
  4290. else:
  4291. set {Wohnung14.Wiederverkaufspreis} to {_message}
  4292. execute player command "67812309412079931hausverkaufen 14 %{Wohnung14.Wiederverkaufspreis}%"
  4293. if {Wohnung15.Preissetzen.%player%} is true:
  4294. cancel event
  4295. set {_message} to message
  4296. if {_message} is "cancel":
  4297. set {Wohnung15.Preissetzen.%player%} to false
  4298. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4299. stop trigger
  4300. else:
  4301. set {Wohnung15.Wiederverkaufspreis} to {_message}
  4302. execute player command "67812309412079931hausverkaufen 15 %{Wohnung15.Wiederverkaufspreis}%"
  4303. if {Wohnung16.Preissetzen.%player%} is true:
  4304. cancel event
  4305. set {_message} to message
  4306. if {_message} is "cancel":
  4307. set {Wohnung16.Preissetzen.%player%} to false
  4308. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4309. stop trigger
  4310. else:
  4311. set {Wohnung16.Wiederverkaufspreis} to {_message}
  4312. execute player command "67812309412079931hausverkaufen 16 %{Wohnung16.Wiederverkaufspreis}%"
  4313. if {Wohnung17.Preissetzen.%player%} is true:
  4314. cancel event
  4315. set {_message} to message
  4316. if {_message} is "cancel":
  4317. set {Wohnung17.Preissetzen.%player%} to false
  4318. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4319. stop trigger
  4320. else:
  4321. set {Wohnung17.Wiederverkaufspreis} to {_message}
  4322. execute player command "67812309412079931hausverkaufen 17 %{Wohnung17.Wiederverkaufspreis}%"
  4323. if {Wohnung18.Preissetzen.%player%} is true:
  4324. cancel event
  4325. set {_message} to message
  4326. if {_message} is "cancel":
  4327. set {Wohnung18.Preissetzen.%player%} to false
  4328. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4329. stop trigger
  4330. else:
  4331. set {Wohnung18.Wiederverkaufspreis} to {_message}
  4332. execute player command "67812309412079931hausverkaufen 18 %{Wohnung18.Wiederverkaufspreis}%"
  4333. if {Wohnung19.Preissetzen.%player%} is true:
  4334. cancel event
  4335. set {_message} to message
  4336. if {_message} is "cancel":
  4337. set {Wohnung19.Preissetzen.%player%} to false
  4338. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4339. stop trigger
  4340. else:
  4341. set {Wohnung19.Wiederverkaufspreis} to {_message}
  4342. execute player command "67812309412079931hausverkaufen 19 %{Wohnung19.Wiederverkaufspreis}%"
  4343. if {Wohnung20.Preissetzen.%player%} is true:
  4344. cancel event
  4345. set {_message} to message
  4346. if {_message} is "cancel":
  4347. set {Wohnung20.Preissetzen.%player%} to false
  4348. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4349. stop trigger
  4350. else:
  4351. set {Wohnung20.Wiederverkaufspreis} to {_message}
  4352. execute player command "67812309412079931hausverkaufen 20 %{Wohnung20.Wiederverkaufspreis}%"
  4353. if {Wohnung21.Preissetzen.%player%} is true:
  4354. cancel event
  4355. set {_message} to message
  4356. if {_message} is "cancel":
  4357. set {Wohnung21.Preissetzen.%player%} to false
  4358. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4359. stop trigger
  4360. else:
  4361. set {Wohnung21.Wiederverkaufspreis} to {_message}
  4362. execute player command "67812309412079931hausverkaufen 21 %{Wohnung21.Wiederverkaufspreis}%"
  4363. if {Wohnung22.Preissetzen.%player%} is true:
  4364. cancel event
  4365. set {_message} to message
  4366. if {_message} is "cancel":
  4367. set {Wohnung22.Preissetzen.%player%} to false
  4368. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4369. stop trigger
  4370. else:
  4371. set {Wohnung22.Wiederverkaufspreis} to {_message}
  4372. execute player command "67812309412079931hausverkaufen 22 %{Wohnung22.Wiederverkaufspreis}%"
  4373. if {Wohnung23.Preissetzen.%player%} is true:
  4374. cancel event
  4375. set {_message} to message
  4376. if {_message} is "cancel":
  4377. set {Wohnung23.Preissetzen.%player%} to false
  4378. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4379. stop trigger
  4380. else:
  4381. set {Wohnung23.Wiederverkaufspreis} to {_message}
  4382. execute player command "67812309412079931hausverkaufen 23 %{Wohnung23.Wiederverkaufspreis}%"
  4383. if {Wohnung24.Preissetzen.%player%} is true:
  4384. cancel event
  4385. set {_message} to message
  4386. if {_message} is "cancel":
  4387. set {Wohnung24.Preissetzen.%player%} to false
  4388. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4389. stop trigger
  4390. else:
  4391. set {Wohnung24.Wiederverkaufspreis} to {_message}
  4392. execute player command "67812309412079931hausverkaufen 24 %{Wohnung24.Wiederverkaufspreis}%"
  4393. if {Wohnung25.Preissetzen.%player%} is true:
  4394. cancel event
  4395. set {_message} to message
  4396. if {_message} is "cancel":
  4397. set {Wohnung25.Preissetzen.%player%} to false
  4398. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4399. stop trigger
  4400. else:
  4401. set {Wohnung25.Wiederverkaufspreis} to {_message}
  4402. execute player command "67812309412079931hausverkaufen 25 %{Wohnung25.Wiederverkaufspreis}%"
  4403. if {Wohnung26.Preissetzen.%player%} is true:
  4404. cancel event
  4405. set {_message} to message
  4406. if {_message} is "cancel":
  4407. set {Wohnung26.Preissetzen.%player%} to false
  4408. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4409. stop trigger
  4410. else:
  4411. set {Wohnung26.Wiederverkaufspreis} to {_message}
  4412. execute player command "67812309412079931hausverkaufen 26 %{Wohnung26.Wiederverkaufspreis}%"
  4413. if {Wohnung27.Preissetzen.%player%} is true:
  4414. cancel event
  4415. set {_message} to message
  4416. if {_message} is "cancel":
  4417. set {Wohnung27.Preissetzen.%player%} to false
  4418. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4419. stop trigger
  4420. else:
  4421. set {Wohnung27.Wiederverkaufspreis} to {_message}
  4422. execute player command "67812309412079931hausverkaufen 27 %{Wohnung27.Wiederverkaufspreis}%"
  4423. if {Wohnung28.Preissetzen.%player%} is true:
  4424. cancel event
  4425. set {_message} to message
  4426. if {_message} is "cancel":
  4427. set {Wohnung28.Preissetzen.%player%} to false
  4428. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4429. stop trigger
  4430. else:
  4431. set {Wohnung28.Wiederverkaufspreis} to {_message}
  4432. execute player command "67812309412079931hausverkaufen 28 %{Wohnung28.Wiederverkaufspreis}%"
  4433. if {Wohnung29.Preissetzen.%player%} is true:
  4434. cancel event
  4435. set {_message} to message
  4436. if {_message} is "cancel":
  4437. set {Wohnung29.Preissetzen.%player%} to false
  4438. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4439. stop trigger
  4440. else:
  4441. set {Wohnung29.Wiederverkaufspreis} to {_message}
  4442. execute player command "67812309412079931hausverkaufen 29 %{Wohnung29.Wiederverkaufspreis}%"
  4443. if {Wohnung30.Preissetzen.%player%} is true:
  4444. cancel event
  4445. set {_message} to message
  4446. if {_message} is "cancel":
  4447. set {Wohnung30.Preissetzen.%player%} to false
  4448. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4449. stop trigger
  4450. else:
  4451. set {Wohnung30.Wiederverkaufspreis} to {_message}
  4452. execute player command "67812309412079931hausverkaufen 30 %{Wohnung30.Wiederverkaufspreis}%"
  4453. if {Wohnung31.Preissetzen.%player%} is true:
  4454. cancel event
  4455. set {_message} to message
  4456. if {_message} is "cancel":
  4457. set {Wohnung31.Preissetzen.%player%} to false
  4458. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4459. stop trigger
  4460. else:
  4461. set {Wohnung31.Wiederverkaufspreis} to {_message}
  4462. execute player command "67812309412079931hausverkaufen 31 %{Wohnung31.Wiederverkaufspreis}%"
  4463. if {Wohnung32.Preissetzen.%player%} is true:
  4464. cancel event
  4465. set {_message} to message
  4466. if {_message} is "cancel":
  4467. set {Wohnung32.Preissetzen.%player%} to false
  4468. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4469. stop trigger
  4470. else:
  4471. set {Wohnung32.Wiederverkaufspreis} to {_message}
  4472. execute player command "67812309412079931hausverkaufen 32 %{Wohnung32.Wiederverkaufspreis}%"
  4473. if {Wohnung33.Preissetzen.%player%} is true:
  4474. cancel event
  4475. set {_message} to message
  4476. if {_message} is "cancel":
  4477. set {Wohnung33.Preissetzen.%player%} to false
  4478. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4479. stop trigger
  4480. else:
  4481. set {Wohnung33.Wiederverkaufspreis} to {_message}
  4482. execute player command "67812309412079931hausverkaufen 33 %{Wohnung33.Wiederverkaufspreis}%"
  4483. if {Wohnung34.Preissetzen.%player%} is true:
  4484. cancel event
  4485. set {_message} to message
  4486. if {_message} is "cancel":
  4487. set {Wohnung34.Preissetzen.%player%} to false
  4488. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4489. stop trigger
  4490. else:
  4491. set {Wohnung34.Wiederverkaufspreis} to {_message}
  4492. execute player command "67812309412079931hausverkaufen 34 %{Wohnung34.Wiederverkaufspreis}%"
  4493. if {Wohnung35.Preissetzen.%player%} is true:
  4494. cancel event
  4495. set {_message} to message
  4496. if {_message} is "cancel":
  4497. set {Wohnung35.Preissetzen.%player%} to false
  4498. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4499. stop trigger
  4500. else:
  4501. set {Wohnung35.Wiederverkaufspreis} to {_message}
  4502. execute player command "67812309412079931hausverkaufen 35 %{Wohnung35.Wiederverkaufspreis}%"
  4503. if {Wohnung36.Preissetzen.%player%} is true:
  4504. cancel event
  4505. set {_message} to message
  4506. if {_message} is "cancel":
  4507. set {Wohnung36.Preissetzen.%player%} to false
  4508. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4509. stop trigger
  4510. else:
  4511. set {Wohnung36.Wiederverkaufspreis} to {_message}
  4512. execute player command "67812309412079931hausverkaufen 36 %{Wohnung36.Wiederverkaufspreis}%"
  4513. if {Wohnung37.Preissetzen.%player%} is true:
  4514. cancel event
  4515. set {_message} to message
  4516. if {_message} is "cancel":
  4517. set {Wohnung37.Preissetzen.%player%} to false
  4518. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4519. stop trigger
  4520. else:
  4521. set {Wohnung37.Wiederverkaufspreis} to {_message}
  4522. execute player command "67812309412079931hausverkaufen 37 %{Wohnung37.Wiederverkaufspreis}%"
  4523. if {Wohnung38.Preissetzen.%player%} is true:
  4524. cancel event
  4525. set {_message} to message
  4526. if {_message} is "cancel":
  4527. set {Wohnung38.Preissetzen.%player%} to false
  4528. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4529. stop trigger
  4530. else:
  4531. set {Wohnung38.Wiederverkaufspreis} to {_message}
  4532. execute player command "67812309412079931hausverkaufen 38 %{Wohnung38.Wiederverkaufspreis}%"
  4533. if {Wohnung39.Preissetzen.%player%} is true:
  4534. cancel event
  4535. set {_message} to message
  4536. if {_message} is "cancel":
  4537. set {Wohnung39.Preissetzen.%player%} to false
  4538. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4539. stop trigger
  4540. else:
  4541. set {Wohnung39.Wiederverkaufspreis} to {_message}
  4542. execute player command "67812309412079931hausverkaufen 39 %{Wohnung39.Wiederverkaufspreis}%"
  4543. if {Wohnung40.Preissetzen.%player%} is true:
  4544. cancel event
  4545. set {_message} to message
  4546. if {_message} is "cancel":
  4547. set {Wohnung40.Preissetzen.%player%} to false
  4548. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4549. stop trigger
  4550. else:
  4551. set {Wohnung40.Wiederverkaufspreis} to {_message}
  4552. execute player command "67812309412079931hausverkaufen 40 %{Wohnung40.Wiederverkaufspreis}%"
  4553. if {Wohnung41.Preissetzen.%player%} is true:
  4554. cancel event
  4555. set {_message} to message
  4556. if {_message} is "cancel":
  4557. set {Wohnung41.Preissetzen.%player%} to false
  4558. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4559. stop trigger
  4560. else:
  4561. set {Wohnung41.Wiederverkaufspreis} to {_message}
  4562. execute player command "67812309412079931hausverkaufen 41 %{Wohnung41.Wiederverkaufspreis}%"
  4563. if {Wohnung42.Preissetzen.%player%} is true:
  4564. cancel event
  4565. set {_message} to message
  4566. if {_message} is "cancel":
  4567. set {Wohnung42.Preissetzen.%player%} to false
  4568. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4569. stop trigger
  4570. else:
  4571. set {Wohnung42.Wiederverkaufspreis} to {_message}
  4572. execute player command "67812309412079931hausverkaufen 42 %{Wohnung42.Wiederverkaufspreis}%"
  4573. if {Wohnung43.Preissetzen.%player%} is true:
  4574. cancel event
  4575. set {_message} to message
  4576. if {_message} is "cancel":
  4577. set {Wohnung43.Preissetzen.%player%} to false
  4578. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4579. stop trigger
  4580. else:
  4581. set {Wohnung43.Wiederverkaufspreis} to {_message}
  4582. execute player command "67812309412079931hausverkaufen 43 %{Wohnung43.Wiederverkaufspreis}%"
  4583. if {Wohnung44.Preissetzen.%player%} is true:
  4584. cancel event
  4585. set {_message} to message
  4586. if {_message} is "cancel":
  4587. set {Wohnung44.Preissetzen.%player%} to false
  4588. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4589. stop trigger
  4590. else:
  4591. set {Wohnung44.Wiederverkaufspreis} to {_message}
  4592. execute player command "67812309412079931hausverkaufen 44 %{Wohnung44.Wiederverkaufspreis}%"
  4593. if {Wohnung45.Preissetzen.%player%} is true:
  4594. cancel event
  4595. set {_message} to message
  4596. if {_message} is "cancel":
  4597. set {Wohnung45.Preissetzen.%player%} to false
  4598. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4599. stop trigger
  4600. else:
  4601. set {Wohnung45.Wiederverkaufspreis} to {_message}
  4602. execute player command "67812309412079931hausverkaufen 45 %{Wohnung45.Wiederverkaufspreis}%"
  4603.  
  4604. command /67812309412079931hausverkaufen [<Text>] [<Integer>]:
  4605. trigger:
  4606. if arg 1 is "1":
  4607. if arg 2 is a number:
  4608. set {Wohnung1.Preissetzen.%player%} to false
  4609. set {Wohnung1.Wiederverkauf} to true
  4610. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4611. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung1.Wiederverkaufspreis}%." to player
  4612. else:
  4613. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4614. if arg 1 is "2":
  4615. if arg 2 is a number:
  4616. set {Wohnung2.Preissetzen.%player%} to false
  4617. set {Wohnung2.Wiederverkauf} to true
  4618. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4619. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung2.Wiederverkaufspreis}%." to player
  4620. else:
  4621. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4622. if arg 1 is "3":
  4623. if arg 2 is a number:
  4624. set {Wohnung3.Preissetzen.%player%} to false
  4625. set {Wohnung3.Wiederverkauf} to true
  4626. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4627. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung3.Wiederverkaufspreis}%." to player
  4628. else:
  4629. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4630. if arg 1 is "4":
  4631. if arg 2 is a number:
  4632. set {Wohnung4.Preissetzen.%player%} to false
  4633. set {Wohnung4.Wiederverkauf} to true
  4634. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4635. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung4.Wiederverkaufspreis}%." to player
  4636. else:
  4637. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4638. if arg 1 is "5":
  4639. if arg 2 is a number:
  4640. set {Wohnung5.Preissetzen.%player%} to false
  4641. set {Wohnung5.Wiederverkauf} to true
  4642. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4643. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung5.Wiederverkaufspreis}%." to player
  4644. else:
  4645. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4646. if arg 1 is "6":
  4647. if arg 2 is a number:
  4648. set {Wohnung6.Preissetzen.%player%} to false
  4649. set {Wohnung6.Wiederverkauf} to true
  4650. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4651. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung6.Wiederverkaufspreis}%." to player
  4652. else:
  4653. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4654. if arg 1 is "7":
  4655. if arg 2 is a number:
  4656. set {Wohnung7.Preissetzen.%player%} to false
  4657. set {Wohnung7.Wiederverkauf} to true
  4658. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4659. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung7.Wiederverkaufspreis}%." to player
  4660. else:
  4661. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4662. if arg 1 is "8":
  4663. if arg 2 is a number:
  4664. set {Wohnung8.Preissetzen.%player%} to false
  4665. set {Wohnung8.Wiederverkauf} to true
  4666. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4667. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung8.Wiederverkaufspreis}%." to player
  4668. else:
  4669. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4670. if arg 1 is "9":
  4671. if arg 2 is a number:
  4672. set {Wohnung9.Preissetzen.%player%} to false
  4673. set {Wohnung9.Wiederverkauf} to true
  4674. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4675. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung9.Wiederverkaufspreis}%." to player
  4676. else:
  4677. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4678. if arg 1 is "10":
  4679. if arg 2 is a number:
  4680. set {Wohnung10.Preissetzen.%player%} to false
  4681. set {Wohnung10.Wiederverkauf} to true
  4682. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4683. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung10.Wiederverkaufspreis}%." to player
  4684. else:
  4685. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4686. if arg 1 is "11":
  4687. if arg 2 is a number:
  4688. set {Wohnung11.Preissetzen.%player%} to false
  4689. set {Wohnung11.Wiederverkauf} to true
  4690. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4691. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung11.Wiederverkaufspreis}%." to player
  4692. else:
  4693. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4694. if arg 1 is "12":
  4695. if arg 2 is a number:
  4696. set {Wohnung12.Preissetzen.%player%} to false
  4697. set {Wohnung12.Wiederverkauf} to true
  4698. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4699. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung12.Wiederverkaufspreis}%." to player
  4700. else:
  4701. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4702. if arg 1 is "13":
  4703. if arg 2 is a number:
  4704. set {Wohnung13.Preissetzen.%player%} to false
  4705. set {Wohnung13.Wiederverkauf} to true
  4706. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4707. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung13.Wiederverkaufspreis}%." to player
  4708. else:
  4709. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4710. if arg 1 is "14":
  4711. if arg 2 is a number:
  4712. set {Wohnung14.Preissetzen.%player%} to false
  4713. set {Wohnung14.Wiederverkauf} to true
  4714. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4715. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung14.Wiederverkaufspreis}%." to player
  4716. else:
  4717. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4718. if arg 1 is "15":
  4719. if arg 2 is a number:
  4720. set {Wohnung15.Preissetzen.%player%} to false
  4721. set {Wohnung15.Wiederverkauf} to true
  4722. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4723. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung15.Wiederverkaufspreis}%." to player
  4724. else:
  4725. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4726. if arg 1 is "16":
  4727. if arg 2 is a number:
  4728. set {Wohnung16.Preissetzen.%player%} to false
  4729. set {Wohnung16.Wiederverkauf} to true
  4730. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4731. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung16.Wiederverkaufspreis}%." to player
  4732. else:
  4733. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4734. if arg 1 is "17":
  4735. if arg 2 is a number:
  4736. set {Wohnung17.Preissetzen.%player%} to false
  4737. set {Wohnung17.Wiederverkauf} to true
  4738. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4739. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung17.Wiederverkaufspreis}%." to player
  4740. else:
  4741. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4742. if arg 1 is "18":
  4743. if arg 2 is a number:
  4744. set {Wohnung18.Preissetzen.%player%} to false
  4745. set {Wohnung18.Wiederverkauf} to true
  4746. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4747. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung18.Wiederverkaufspreis}%." to player
  4748. else:
  4749. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4750. if arg 1 is "19":
  4751. if arg 2 is a number:
  4752. set {Wohnung19.Preissetzen.%player%} to false
  4753. set {Wohnung19.Wiederverkauf} to true
  4754. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4755. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung19.Wiederverkaufspreis}%." to player
  4756. else:
  4757. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4758. if arg 1 is "20":
  4759. if arg 2 is a number:
  4760. set {Wohnung20.Preissetzen.%player%} to false
  4761. set {Wohnung20.Wiederverkauf} to true
  4762. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4763. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung20.Wiederverkaufspreis}%." to player
  4764. else:
  4765. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4766. if arg 1 is "21":
  4767. if arg 2 is a number:
  4768. set {Wohnung21.Preissetzen.%player%} to false
  4769. set {Wohnung21.Wiederverkauf} to true
  4770. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4771. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung21.Wiederverkaufspreis}%." to player
  4772. else:
  4773. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4774. if arg 1 is "22":
  4775. if arg 2 is a number:
  4776. set {Wohnung22.Preissetzen.%player%} to false
  4777. set {Wohnung22.Wiederverkauf} to true
  4778. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4779. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung22.Wiederverkaufspreis}%." to player
  4780. else:
  4781. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4782. if arg 1 is "23":
  4783. if arg 2 is a number:
  4784. set {Wohnung23.Preissetzen.%player%} to false
  4785. set {Wohnung23.Wiederverkauf} to true
  4786. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4787. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung23.Wiederverkaufspreis}%." to player
  4788. else:
  4789. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4790. if arg 1 is "24":
  4791. if arg 2 is a number:
  4792. set {Wohnung24.Preissetzen.%player%} to false
  4793. set {Wohnung24.Wiederverkauf} to true
  4794. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4795. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung24.Wiederverkaufspreis}%." to player
  4796. else:
  4797. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4798. if arg 1 is "25":
  4799. if arg 2 is a number:
  4800. set {Wohnung25.Preissetzen.%player%} to false
  4801. set {Wohnung25.Wiederverkauf} to true
  4802. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4803. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung25.Wiederverkaufspreis}%." to player
  4804. else:
  4805. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4806. if arg 1 is "26":
  4807. if arg 2 is a number:
  4808. set {Wohnung26.Preissetzen.%player%} to false
  4809. set {Wohnung26.Wiederverkauf} to true
  4810. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4811. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung26.Wiederverkaufspreis}%." to player
  4812. else:
  4813. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4814. if arg 1 is "27":
  4815. if arg 2 is a number:
  4816. set {Wohnung27.Preissetzen.%player%} to false
  4817. set {Wohnung27.Wiederverkauf} to true
  4818. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4819. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung27.Wiederverkaufspreis}%." to player
  4820. else:
  4821. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4822. if arg 1 is "28":
  4823. if arg 2 is a number:
  4824. set {Wohnung28.Preissetzen.%player%} to false
  4825. set {Wohnung28.Wiederverkauf} to true
  4826. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4827. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung28.Wiederverkaufspreis}%." to player
  4828. else:
  4829. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4830. if arg 1 is "29":
  4831. if arg 2 is a number:
  4832. set {Wohnung29.Preissetzen.%player%} to false
  4833. set {Wohnung29.Wiederverkauf} to true
  4834. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4835. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung29.Wiederverkaufspreis}%." to player
  4836. else:
  4837. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4838. if arg 1 is "30":
  4839. if arg 2 is a number:
  4840. set {Wohnung30.Preissetzen.%player%} to false
  4841. set {Wohnung30.Wiederverkauf} to true
  4842. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4843. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung30.Wiederverkaufspreis}%." to player
  4844. else:
  4845. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4846. if arg 1 is "31":
  4847. if arg 2 is a number:
  4848. set {Wohnung31.Preissetzen.%player%} to false
  4849. set {Wohnung31.Wiederverkauf} to true
  4850. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4851. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung31.Wiederverkaufspreis}%." to player
  4852. else:
  4853. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4854. if arg 1 is "32":
  4855. if arg 2 is a number:
  4856. set {Wohnung32.Preissetzen.%player%} to false
  4857. set {Wohnung32.Wiederverkauf} to true
  4858. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4859. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung32.Wiederverkaufspreis}%." to player
  4860. else:
  4861. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4862. if arg 1 is "33":
  4863. if arg 2 is a number:
  4864. set {Wohnung33.Preissetzen.%player%} to false
  4865. set {Wohnung33.Wiederverkauf} to true
  4866. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4867. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung33.Wiederverkaufspreis}%." to player
  4868. else:
  4869. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4870. if arg 1 is "34":
  4871. if arg 2 is a number:
  4872. set {Wohnung34.Preissetzen.%player%} to false
  4873. set {Wohnung34.Wiederverkauf} to true
  4874. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4875. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung34.Wiederverkaufspreis}%." to player
  4876. else:
  4877. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4878. if arg 1 is "35":
  4879. if arg 2 is a number:
  4880. set {Wohnung35.Preissetzen.%player%} to false
  4881. set {Wohnung35.Wiederverkauf} to true
  4882. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4883. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung35.Wiederverkaufspreis}%." to player
  4884. else:
  4885. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4886. if arg 1 is "36":
  4887. if arg 2 is a number:
  4888. set {Wohnung36.Preissetzen.%player%} to false
  4889. set {Wohnung36.Wiederverkauf} to true
  4890. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4891. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung36.Wiederverkaufspreis}%." to player
  4892. else:
  4893. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4894. if arg 1 is "37":
  4895. if arg 2 is a number:
  4896. set {Wohnung37.Preissetzen.%player%} to false
  4897. set {Wohnung37.Wiederverkauf} to true
  4898. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4899. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung37.Wiederverkaufspreis}%." to player
  4900. else:
  4901. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4902. if arg 1 is "38":
  4903. if arg 2 is a number:
  4904. set {Wohnung38.Preissetzen.%player%} to false
  4905. set {Wohnung38.Wiederverkauf} to true
  4906. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4907. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung38.Wiederverkaufspreis}%." to player
  4908. else:
  4909. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4910. if arg 1 is "39":
  4911. if arg 2 is a number:
  4912. set {Wohnung39.Preissetzen.%player%} to false
  4913. set {Wohnung39.Wiederverkauf} to true
  4914. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4915. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung39.Wiederverkaufspreis}%." to player
  4916. else:
  4917. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4918. if arg 1 is "40":
  4919. if arg 2 is a number:
  4920. set {Wohnung40.Preissetzen.%player%} to false
  4921. set {Wohnung40.Wiederverkauf} to true
  4922. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4923. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung40.Wiederverkaufspreis}%." to player
  4924. else:
  4925. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4926. if arg 1 is "41":
  4927. if arg 2 is a number:
  4928. set {Wohnung41.Preissetzen.%player%} to false
  4929. set {Wohnung41.Wiederverkauf} to true
  4930. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4931. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung41.Wiederverkaufspreis}%." to player
  4932. else:
  4933. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4934. if arg 1 is "42":
  4935. if arg 2 is a number:
  4936. set {Wohnung42.Preissetzen.%player%} to false
  4937. set {Wohnung42.Wiederverkauf} to true
  4938. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4939. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung42.Wiederverkaufspreis}%." to player
  4940. else:
  4941. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4942. if arg 1 is "43":
  4943. if arg 2 is a number:
  4944. set {Wohnung43.Preissetzen.%player%} to false
  4945. set {Wohnung43.Wiederverkauf} to true
  4946. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4947. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung43.Wiederverkaufspreis}%." to player
  4948. else:
  4949. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4950. if arg 1 is "44":
  4951. if arg 2 is a number:
  4952. set {Wohnung44.Preissetzen.%player%} to false
  4953. set {Wohnung44.Wiederverkauf} to true
  4954. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4955. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung44.Wiederverkaufspreis}%." to player
  4956. else:
  4957. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4958. if arg 1 is "45":
  4959. if arg 2 is a number:
  4960. set {Wohnung45.Preissetzen.%player%} to false
  4961. set {Wohnung45.Wiederverkauf} to true
  4962. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4963. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung45.Wiederverkaufspreis}%." to player
  4964. else:
  4965. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4966.  
  4967.  
  4968. command /72137827942182hausverkaufabbruch [<Text>]:
  4969. trigger:
  4970. if {Wohnung%arg 1%.Besitzer} is "%player%":
  4971. set {Wohnung%arg 1%.Wiederverkauf} to false
  4972. send "&8[&6Wohnraum&8] &7Wohnungsverkauf abgebrochen!" to player
  4973.  
  4974.  
  4975. command /14178932179832wiederkaufen [<Text>]:
  4976. trigger:
  4977. if {Wohnung%arg 1%.Wiederverkauf} is true:
  4978. set {_Preis} to "%{Wohnung%arg 1%.Wiederverkaufspreis}%" parsed as integer
  4979. set {Silberstücke.%player's uuid%} to "%{Silberstücke.%player's uuid%}%" parsed as integer
  4980. if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
  4981. execute player command "bezahlen %{Wohnung%arg 1%.Besitzer}% Silberstücke %{Wohnung%arg 1%.Wiederverkaufspreis}%"
  4982. set {_ExBesitzer} to {Wohnung%arg 1%.Besitzer}
  4983. send "&8[&6Wohnraum&8] &7Dein Wohnraum wurde gekauft!" to {_ExBesitzer}
  4984. send "&8[&6Wohnraum&8] &7Du erhältst %{Wohnung%arg 1%.Wiederverkaufspreis}% Silberstücke." to {_ExBesitzer}
  4985. set {Wohnung%arg 1%.Besitzer} to player
  4986. send "&8[&6Wohnraum&8] &7Du hast erfolgreich diesen Wohnraum gekauft!" to player
  4987. set {Wohnung%arg 1%.Wiederverkauf} to false
  4988. else:
  4989. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld!" to player
  4990.  
  4991.  
  4992. #
  4993. #
  4994. # SCHILD
  4995. #
  4996. #
  4997.  
  4998.  
  4999. on rightclick on sign:
  5000. line 2 of event-block is "&8[&6Wohnraum&8]"
  5001. set {_location} to location of event-block
  5002. x-location of {_location} is {x.wohnung1.1.sign}
  5003. y-location of {_location} is {y.wohnung1.1.sign}
  5004. z-location of {_location} is {z.wohnung1.1.sign}
  5005. open chest with 1 rows named "&8Wohnung" to player
  5006. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5007. if player has permission "op":
  5008. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a1" to be unstealable
  5009. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5010. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5011. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5012. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung1.Besitzer}%" to be unstealable
  5013. if {wohnung1.Besitzer} is "Unverkauft":
  5014. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung1.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 1"]
  5015. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5016. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5017. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5018. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5019. if {wohnung1.Besitzer} is "%player%":
  5020. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 1"]
  5021. if {Wohnung1.Wiederverkauf} is true:
  5022. if {wohnung1.Besitzer} is "%player%":
  5023. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 1"]
  5024. else:
  5025. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung1.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 1"]
  5026.  
  5027.  
  5028. on rightclick on sign:
  5029. line 2 of event-block is "&8[&6Wohnraum&8]"
  5030. set {_location} to location of event-block
  5031. x-location of {_location} is {x.wohnung2.1.sign}
  5032. y-location of {_location} is {y.wohnung2.1.sign}
  5033. z-location of {_location} is {z.wohnung2.1.sign}
  5034. open chest with 1 rows named "&8Wohnung" to player
  5035. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5036. if player has permission "op":
  5037. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a2" to be unstealable
  5038. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5039. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5040. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5041. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung2.Besitzer}%" to be unstealable
  5042. if {wohnung2.Besitzer} is "Unverkauft":
  5043. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung2.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 2"]
  5044. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5045. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5046. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5047. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5048. if {wohnung2.Besitzer} is "%player%":
  5049. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 2"]
  5050. if {Wohnung2.Wiederverkauf} is true:
  5051. if {wohnung2.Besitzer} is "%player%":
  5052. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 2"]
  5053. else:
  5054. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung2.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 2"]
  5055.  
  5056. on rightclick on sign:
  5057. line 2 of event-block is "&8[&6Wohnraum&8]"
  5058. set {_location} to location of event-block
  5059. x-location of {_location} is {x.wohnung3.1.sign}
  5060. y-location of {_location} is {y.wohnung3.1.sign}
  5061. z-location of {_location} is {z.wohnung3.1.sign}
  5062. open chest with 1 rows named "&8Wohnung" to player
  5063. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5064. if player has permission "op":
  5065. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a3" to be unstealable
  5066. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5067. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5068. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5069. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung3.Besitzer}%" to be unstealable
  5070. if {wohnung3.Besitzer} is "Unverkauft":
  5071. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung3.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 3"]
  5072. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5073. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5074. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5075. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5076. if {wohnung3.Besitzer} is "%player%":
  5077. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 3"]
  5078. if {Wohnung3.Wiederverkauf} is true:
  5079. if {wohnung3.Besitzer} is "%player%":
  5080. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 3"]
  5081. else:
  5082. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung3.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 3"]
  5083.  
  5084. on rightclick on sign:
  5085. line 2 of event-block is "&8[&6Wohnraum&8]"
  5086. set {_location} to location of event-block
  5087. x-location of {_location} is {x.wohnung4.1.sign}
  5088. y-location of {_location} is {y.wohnung4.1.sign}
  5089. z-location of {_location} is {z.wohnung4.1.sign}
  5090. open chest with 1 rows named "&8Wohnung" to player
  5091. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5092. if player has permission "op":
  5093. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a4" to be unstealable
  5094. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5095. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5096. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5097. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung4.Besitzer}%" to be unstealable
  5098. if {wohnung4.Besitzer} is "Unverkauft":
  5099. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung4.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 4"]
  5100. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5101. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5102. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5103. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5104. if {wohnung4.Besitzer} is "%player%":
  5105. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 4"]
  5106. if {Wohnung4.Wiederverkauf} is true:
  5107. if {wohnung4.Besitzer} is "%player%":
  5108. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 4"]
  5109. else:
  5110. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung4.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 4"]
  5111.  
  5112. on rightclick on sign:
  5113. line 2 of event-block is "&8[&6Wohnraum&8]"
  5114. set {_location} to location of event-block
  5115. x-location of {_location} is {x.wohnung5.1.sign}
  5116. y-location of {_location} is {y.wohnung5.1.sign}
  5117. z-location of {_location} is {z.wohnung5.1.sign}
  5118. open chest with 1 rows named "&8Wohnung" to player
  5119. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5120. if player has permission "op":
  5121. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a5" to be unstealable
  5122. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5123. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5124. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5125. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung5.Besitzer}%" to be unstealable
  5126. if {wohnung5.Besitzer} is "Unverkauft":
  5127. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung5.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 5"]
  5128. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5129. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5130. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5131. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5132. if {wohnung5.Besitzer} is "%player%":
  5133. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 5"]
  5134. if {Wohnung5.Wiederverkauf} is true:
  5135. if {wohnung5.Besitzer} is "%player%":
  5136. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 5"]
  5137. else:
  5138. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung5.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 5"]
  5139.  
  5140. on rightclick on sign:
  5141. line 2 of event-block is "&8[&6Wohnraum&8]"
  5142. set {_location} to location of event-block
  5143. x-location of {_location} is {x.wohnung6.1.sign}
  5144. y-location of {_location} is {y.wohnung6.1.sign}
  5145. z-location of {_location} is {z.wohnung6.1.sign}
  5146. open chest with 1 rows named "&8Wohnung" to player
  5147. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5148. if player has permission "op":
  5149. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a6" to be unstealable
  5150. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5151. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5152. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5153. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung6.Besitzer}%" to be unstealable
  5154. if {wohnung6.Besitzer} is "Unverkauft":
  5155. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung6.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 6"]
  5156. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5157. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5158. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5159. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5160. if {wohnung6.Besitzer} is "%player%":
  5161. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 6"]
  5162. if {Wohnung6.Wiederverkauf} is true:
  5163. if {wohnung6.Besitzer} is "%player%":
  5164. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 6"]
  5165. else:
  5166. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung6.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 6"]
  5167.  
  5168. on rightclick on sign:
  5169. line 2 of event-block is "&8[&6Wohnraum&8]"
  5170. set {_location} to location of event-block
  5171. x-location of {_location} is {x.wohnung7.1.sign}
  5172. y-location of {_location} is {y.wohnung7.1.sign}
  5173. z-location of {_location} is {z.wohnung7.1.sign}
  5174. open chest with 1 rows named "&8Wohnung" to player
  5175. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5176. if player has permission "op":
  5177. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a7" to be unstealable
  5178. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5179. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5180. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5181. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung7.Besitzer}%" to be unstealable
  5182. if {wohnung7.Besitzer} is "Unverkauft":
  5183. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung7.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 7"]
  5184. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5185. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5186. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5187. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5188. if {wohnung7.Besitzer} is "%player%":
  5189. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 7"]
  5190. if {Wohnung7.Wiederverkauf} is true:
  5191. if {wohnung7.Besitzer} is "%player%":
  5192. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 7"]
  5193. else:
  5194. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung7.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 7"]
  5195.  
  5196. on rightclick on sign:
  5197. line 2 of event-block is "&8[&6Wohnraum&8]"
  5198. set {_location} to location of event-block
  5199. x-location of {_location} is {x.wohnung8.1.sign}
  5200. y-location of {_location} is {y.wohnung8.1.sign}
  5201. z-location of {_location} is {z.wohnung8.1.sign}
  5202. open chest with 1 rows named "&8Wohnung" to player
  5203. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5204. if player has permission "op":
  5205. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a8" to be unstealable
  5206. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5207. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5208. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5209. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung8.Besitzer}%" to be unstealable
  5210. if {wohnung8.Besitzer} is "Unverkauft":
  5211. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung8.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 8"]
  5212. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5213. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5214. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5215. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5216. if {wohnung8.Besitzer} is "%player%":
  5217. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 8"]
  5218. if {Wohnung8.Wiederverkauf} is true:
  5219. if {wohnung8.Besitzer} is "%player%":
  5220. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 8"]
  5221. else:
  5222. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung8.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 8"]
  5223.  
  5224. on rightclick on sign:
  5225. line 2 of event-block is "&8[&6Wohnraum&8]"
  5226. set {_location} to location of event-block
  5227. x-location of {_location} is {x.wohnung9.1.sign}
  5228. y-location of {_location} is {y.wohnung9.1.sign}
  5229. z-location of {_location} is {z.wohnung9.1.sign}
  5230. open chest with 1 rows named "&8Wohnung" to player
  5231. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5232. if player has permission "op":
  5233. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a9" to be unstealable
  5234. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5235. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5236. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5237. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung9.Besitzer}%" to be unstealable
  5238. if {wohnung9.Besitzer} is "Unverkauft":
  5239. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung9.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 9"]
  5240. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5241. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5242. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5243. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5244. if {wohnung9.Besitzer} is "%player%":
  5245. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 9"]
  5246. if {Wohnung9.Wiederverkauf} is true:
  5247. if {wohnung9.Besitzer} is "%player%":
  5248. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 9"]
  5249. else:
  5250. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung9.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 9"]
  5251.  
  5252. on rightclick on sign:
  5253. line 2 of event-block is "&8[&6Wohnraum&8]"
  5254. set {_location} to location of event-block
  5255. x-location of {_location} is {x.wohnung10.1.sign}
  5256. y-location of {_location} is {y.wohnung10.1.sign}
  5257. z-location of {_location} is {z.wohnung10.1.sign}
  5258. open chest with 1 rows named "&8Wohnung" to player
  5259. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5260. if player has permission "op":
  5261. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a10" to be unstealable
  5262. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5263. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5264. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5265. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung10.Besitzer}%" to be unstealable
  5266. if {wohnung10.Besitzer} is "Unverkauft":
  5267. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung10.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 10"]
  5268. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5269. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5270. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5271. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5272. if {wohnung10.Besitzer} is "%player%":
  5273. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 10"]
  5274. if {Wohnung10.Wiederverkauf} is true:
  5275. if {wohnung10.Besitzer} is "%player%":
  5276. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 10"]
  5277. else:
  5278. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung10.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 10"]
  5279.  
  5280. on rightclick on sign:
  5281. line 2 of event-block is "&8[&6Wohnraum&8]"
  5282. set {_location} to location of event-block
  5283. x-location of {_location} is {x.wohnung11.1.sign}
  5284. y-location of {_location} is {y.wohnung11.1.sign}
  5285. z-location of {_location} is {z.wohnung11.1.sign}
  5286. open chest with 1 rows named "&8Wohnung" to player
  5287. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5288. if player has permission "op":
  5289. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a11" to be unstealable
  5290. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5291. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5292. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5293. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung11.Besitzer}%" to be unstealable
  5294. if {wohnung11.Besitzer} is "Unverkauft":
  5295. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung11.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 11"]
  5296. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5297. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5298. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5299. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5300. if {wohnung11.Besitzer} is "%player%":
  5301. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 11"]
  5302. if {Wohnung11.Wiederverkauf} is true:
  5303. if {wohnung11.Besitzer} is "%player%":
  5304. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 11"]
  5305. else:
  5306. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung11.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 11"]
  5307.  
  5308. on rightclick on sign:
  5309. line 2 of event-block is "&8[&6Wohnraum&8]"
  5310. set {_location} to location of event-block
  5311. x-location of {_location} is {x.wohnung12.1.sign}
  5312. y-location of {_location} is {y.wohnung12.1.sign}
  5313. z-location of {_location} is {z.wohnung12.1.sign}
  5314. open chest with 1 rows named "&8Wohnung" to player
  5315. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5316. if player has permission "op":
  5317. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a12" to be unstealable
  5318. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5319. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5320. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5321. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung12.Besitzer}%" to be unstealable
  5322. if {wohnung12.Besitzer} is "Unverkauft":
  5323. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung12.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 12"]
  5324. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5325. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5326. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5327. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5328. if {wohnung12.Besitzer} is "%player%":
  5329. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 12"]
  5330. if {Wohnung12.Wiederverkauf} is true:
  5331. if {wohnung12.Besitzer} is "%player%":
  5332. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 12"]
  5333. else:
  5334. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung12.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 12"]
  5335.  
  5336. on rightclick on sign:
  5337. line 2 of event-block is "&8[&6Wohnraum&8]"
  5338. set {_location} to location of event-block
  5339. x-location of {_location} is {x.wohnung13.1.sign}
  5340. y-location of {_location} is {y.wohnung13.1.sign}
  5341. z-location of {_location} is {z.wohnung13.1.sign}
  5342. open chest with 1 rows named "&8Wohnung" to player
  5343. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5344. if player has permission "op":
  5345. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a13" to be unstealable
  5346. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5347. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5348. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5349. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung13.Besitzer}%" to be unstealable
  5350. if {wohnung13.Besitzer} is "Unverkauft":
  5351. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung13.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 13"]
  5352. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5353. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5354. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5355. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5356. if {wohnung13.Besitzer} is "%player%":
  5357. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 13"]
  5358. if {Wohnung13.Wiederverkauf} is true:
  5359. if {wohnung13.Besitzer} is "%player%":
  5360. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 13"]
  5361. else:
  5362. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung13.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 13"]
  5363.  
  5364. on rightclick on sign:
  5365. line 2 of event-block is "&8[&6Wohnraum&8]"
  5366. set {_location} to location of event-block
  5367. x-location of {_location} is {x.wohnung14.1.sign}
  5368. y-location of {_location} is {y.wohnung14.1.sign}
  5369. z-location of {_location} is {z.wohnung14.1.sign}
  5370. open chest with 1 rows named "&8Wohnung" to player
  5371. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5372. if player has permission "op":
  5373. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a14" to be unstealable
  5374. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5375. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5376. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5377. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung14.Besitzer}%" to be unstealable
  5378. if {wohnung14.Besitzer} is "Unverkauft":
  5379. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung14.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 14"]
  5380. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5381. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5382. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5383. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5384. if {wohnung14.Besitzer} is "%player%":
  5385. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 14"]
  5386. if {Wohnung14.Wiederverkauf} is true:
  5387. if {wohnung14.Besitzer} is "%player%":
  5388. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 14"]
  5389. else:
  5390. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung14.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 14"]
  5391.  
  5392. on rightclick on sign:
  5393. line 2 of event-block is "&8[&6Wohnraum&8]"
  5394. set {_location} to location of event-block
  5395. x-location of {_location} is {x.wohnung15.1.sign}
  5396. y-location of {_location} is {y.wohnung15.1.sign}
  5397. z-location of {_location} is {z.wohnung15.1.sign}
  5398. open chest with 1 rows named "&8Wohnung" to player
  5399. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5400. if player has permission "op":
  5401. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a15" to be unstealable
  5402. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5403. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5404. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5405. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung15.Besitzer}%" to be unstealable
  5406. if {wohnung15.Besitzer} is "Unverkauft":
  5407. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung15.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 15"]
  5408. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5409. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5410. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5411. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5412. if {wohnung15.Besitzer} is "%player%":
  5413. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 15"]
  5414. if {Wohnung15.Wiederverkauf} is true:
  5415. if {wohnung15.Besitzer} is "%player%":
  5416. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 15"]
  5417. else:
  5418. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung15.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 15"]
  5419.  
  5420. on rightclick on sign:
  5421. line 2 of event-block is "&8[&6Wohnraum&8]"
  5422. set {_location} to location of event-block
  5423. x-location of {_location} is {x.wohnung16.1.sign}
  5424. y-location of {_location} is {y.wohnung16.1.sign}
  5425. z-location of {_location} is {z.wohnung16.1.sign}
  5426. open chest with 1 rows named "&8Wohnung" to player
  5427. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5428. if player has permission "op":
  5429. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a16" to be unstealable
  5430. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5431. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5432. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5433. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung16.Besitzer}%" to be unstealable
  5434. if {wohnung16.Besitzer} is "Unverkauft":
  5435. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung16.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 16"]
  5436. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5437. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5438. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5439. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5440. if {wohnung16.Besitzer} is "%player%":
  5441. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 16"]
  5442. if {Wohnung16.Wiederverkauf} is true:
  5443. if {wohnung15.Besitzer} is "%player%":
  5444. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 16"]
  5445. else:
  5446. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung16.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 16"]
  5447.  
  5448. on rightclick on sign:
  5449. line 2 of event-block is "&8[&6Wohnraum&8]"
  5450. set {_location} to location of event-block
  5451. x-location of {_location} is {x.wohnung17.1.sign}
  5452. y-location of {_location} is {y.wohnung17.1.sign}
  5453. z-location of {_location} is {z.wohnung17.1.sign}
  5454. open chest with 1 rows named "&8Wohnung" to player
  5455. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5456. if player has permission "op":
  5457. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a17" to be unstealable
  5458. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5459. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5460. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5461. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung17.Besitzer}%" to be unstealable
  5462. if {wohnung17.Besitzer} is "Unverkauft":
  5463. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung17.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 17"]
  5464. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5465. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5466. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5467. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5468. if {wohnung17.Besitzer} is "%player%":
  5469. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 17"]
  5470. if {Wohnung17.Wiederverkauf} is true:
  5471. if {wohnung17.Besitzer} is "%player%":
  5472. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 17"]
  5473. else:
  5474. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung17.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 17"]
  5475.  
  5476. on rightclick on sign:
  5477. line 2 of event-block is "&8[&6Wohnraum&8]"
  5478. set {_location} to location of event-block
  5479. x-location of {_location} is {x.wohnung18.1.sign}
  5480. y-location of {_location} is {y.wohnung18.1.sign}
  5481. z-location of {_location} is {z.wohnung18.1.sign}
  5482. open chest with 1 rows named "&8Wohnung" to player
  5483. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5484. if player has permission "op":
  5485. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a18" to be unstealable
  5486. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5487. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5488. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5489. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung18.Besitzer}%" to be unstealable
  5490. if {wohnung18.Besitzer} is "Unverkauft":
  5491. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung18.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 18"]
  5492. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5493. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5494. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5495. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5496. if {wohnung18.Besitzer} is "%player%":
  5497. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 18"]
  5498. if {Wohnung18.Wiederverkauf} is true:
  5499. if {wohnung18.Besitzer} is "%player%":
  5500. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 18"]
  5501. else:
  5502. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung15.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 18"]
  5503.  
  5504. on rightclick on sign:
  5505. line 2 of event-block is "&8[&6Wohnraum&8]"
  5506. set {_location} to location of event-block
  5507. x-location of {_location} is {x.wohnung19.1.sign}
  5508. y-location of {_location} is {y.wohnung19.1.sign}
  5509. z-location of {_location} is {z.wohnung19.1.sign}
  5510. open chest with 1 rows named "&8Wohnung" to player
  5511. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5512. if player has permission "op":
  5513. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a19" to be unstealable
  5514. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5515. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5516. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5517. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung19.Besitzer}%" to be unstealable
  5518. if {wohnung19.Besitzer} is "Unverkauft":
  5519. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung19.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 19"]
  5520. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5521. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5522. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5523. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5524. if {wohnung19.Besitzer} is "%player%":
  5525. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 19"]
  5526. if {Wohnung19.Wiederverkauf} is true:
  5527. if {wohnung19.Besitzer} is "%player%":
  5528. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 19"]
  5529. else:
  5530. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung19.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 19"]
  5531.  
  5532. on rightclick on sign:
  5533. line 2 of event-block is "&8[&6Wohnraum&8]"
  5534. set {_location} to location of event-block
  5535. x-location of {_location} is {x.wohnung20.1.sign}
  5536. y-location of {_location} is {y.wohnung20.1.sign}
  5537. z-location of {_location} is {z.wohnung20.1.sign}
  5538. open chest with 1 rows named "&8Wohnung" to player
  5539. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5540. if player has permission "op":
  5541. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a20" to be unstealable
  5542. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5543. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5544. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5545. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung20.Besitzer}%" to be unstealable
  5546. if {wohnung20.Besitzer} is "Unverkauft":
  5547. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung20.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 20"]
  5548. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5549. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5550. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5551. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5552. if {wohnung20.Besitzer} is "%player%":
  5553. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 20"]
  5554. if {Wohnung20.Wiederverkauf} is true:
  5555. if {wohnung20.Besitzer} is "%player%":
  5556. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 20"]
  5557. else:
  5558. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung20.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 20"]
  5559.  
  5560. on rightclick on sign:
  5561. line 2 of event-block is "&8[&6Wohnraum&8]"
  5562. set {_location} to location of event-block
  5563. x-location of {_location} is {x.wohnung21.1.sign}
  5564. y-location of {_location} is {y.wohnung21.1.sign}
  5565. z-location of {_location} is {z.wohnung21.1.sign}
  5566. open chest with 1 rows named "&8Wohnung" to player
  5567. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5568. if player has permission "op":
  5569. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a21" to be unstealable
  5570. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5571. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5572. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5573. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung21.Besitzer}%" to be unstealable
  5574. if {wohnung21.Besitzer} is "Unverkauft":
  5575. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung21.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 21"]
  5576. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5577. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5578. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5579. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5580. if {wohnung21.Besitzer} is "%player%":
  5581. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 21"]
  5582. if {Wohnung21.Wiederverkauf} is true:
  5583. if {wohnung21.Besitzer} is "%player%":
  5584. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 21"]
  5585. else:
  5586. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung21.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 21"]
  5587.  
  5588. on rightclick on sign:
  5589. line 2 of event-block is "&8[&6Wohnraum&8]"
  5590. set {_location} to location of event-block
  5591. x-location of {_location} is {x.wohnung22.1.sign}
  5592. y-location of {_location} is {y.wohnung22.1.sign}
  5593. z-location of {_location} is {z.wohnung22.1.sign}
  5594. open chest with 1 rows named "&8Wohnung" to player
  5595. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5596. if player has permission "op":
  5597. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a22" to be unstealable
  5598. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5599. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5600. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5601. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung22.Besitzer}%" to be unstealable
  5602. if {wohnung22.Besitzer} is "Unverkauft":
  5603. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung22.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 22"]
  5604. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5605. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5606. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5607. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5608. if {wohnung22.Besitzer} is "%player%":
  5609. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 22"]
  5610. if {Wohnung22.Wiederverkauf} is true:
  5611. if {wohnung22.Besitzer} is "%player%":
  5612. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 22"]
  5613. else:
  5614. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung22.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 22"]
  5615.  
  5616. on rightclick on sign:
  5617. line 2 of event-block is "&8[&6Wohnraum&8]"
  5618. set {_location} to location of event-block
  5619. x-location of {_location} is {x.wohnung23.1.sign}
  5620. y-location of {_location} is {y.wohnung23.1.sign}
  5621. z-location of {_location} is {z.wohnung23.1.sign}
  5622. open chest with 1 rows named "&8Wohnung" to player
  5623. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5624. if player has permission "op":
  5625. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a23" to be unstealable
  5626. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5627. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5628. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5629. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung23.Besitzer}%" to be unstealable
  5630. if {wohnung23.Besitzer} is "Unverkauft":
  5631. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung23.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 23"]
  5632. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5633. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5634. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5635. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5636. if {wohnung23.Besitzer} is "%player%":
  5637. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 23"]
  5638. if {Wohnung23.Wiederverkauf} is true:
  5639. if {wohnung23.Besitzer} is "%player%":
  5640. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 23"]
  5641. else:
  5642. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung23.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 23"]
  5643.  
  5644. on rightclick on sign:
  5645. line 2 of event-block is "&8[&6Wohnraum&8]"
  5646. set {_location} to location of event-block
  5647. x-location of {_location} is {x.wohnung24.1.sign}
  5648. y-location of {_location} is {y.wohnung24.1.sign}
  5649. z-location of {_location} is {z.wohnung24.1.sign}
  5650. open chest with 1 rows named "&8Wohnung" to player
  5651. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5652. if player has permission "op":
  5653. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a24" to be unstealable
  5654. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5655. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5656. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5657. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung24.Besitzer}%" to be unstealable
  5658. if {wohnung24.Besitzer} is "Unverkauft":
  5659. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung24.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 24"]
  5660. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5661. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5662. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5663. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5664. if {wohnung24.Besitzer} is "%player%":
  5665. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 24"]
  5666. if {Wohnung24.Wiederverkauf} is true:
  5667. if {wohnung24.Besitzer} is "%player%":
  5668. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 24"]
  5669. else:
  5670. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung24.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 24"]
  5671.  
  5672. on rightclick on sign:
  5673. line 2 of event-block is "&8[&6Wohnraum&8]"
  5674. set {_location} to location of event-block
  5675. x-location of {_location} is {x.wohnung25.1.sign}
  5676. y-location of {_location} is {y.wohnung25.1.sign}
  5677. z-location of {_location} is {z.wohnung25.1.sign}
  5678. open chest with 1 rows named "&8Wohnung" to player
  5679. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5680. if player has permission "op":
  5681. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a25" to be unstealable
  5682. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5683. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5684. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5685. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung25.Besitzer}%" to be unstealable
  5686. if {wohnung25.Besitzer} is "Unverkauft":
  5687. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung25.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 25"]
  5688. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5689. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5690. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5691. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5692. if {wohnung25.Besitzer} is "%player%":
  5693. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 25"]
  5694. if {Wohnung25.Wiederverkauf} is true:
  5695. if {wohnung25.Besitzer} is "%player%":
  5696. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 25"]
  5697. else:
  5698. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung25.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 25"]
  5699.  
  5700. on rightclick on sign:
  5701. line 2 of event-block is "&8[&6Wohnraum&8]"
  5702. set {_location} to location of event-block
  5703. x-location of {_location} is {x.wohnung26.1.sign}
  5704. y-location of {_location} is {y.wohnung26.1.sign}
  5705. z-location of {_location} is {z.wohnung26.1.sign}
  5706. open chest with 1 rows named "&8Wohnung" to player
  5707. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5708. if player has permission "op":
  5709. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a26" to be unstealable
  5710. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5711. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5712. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5713. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung26.Besitzer}%" to be unstealable
  5714. if {wohnung26.Besitzer} is "Unverkauft":
  5715. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung26.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 26"]
  5716. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5717. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5718. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5719. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5720. if {wohnung26.Besitzer} is "%player%":
  5721. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 26"]
  5722. if {Wohnung26.Wiederverkauf} is true:
  5723. if {wohnung26.Besitzer} is "%player%":
  5724. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 26"]
  5725. else:
  5726. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung26.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 26"]
  5727.  
  5728. on rightclick on sign:
  5729. line 2 of event-block is "&8[&6Wohnraum&8]"
  5730. set {_location} to location of event-block
  5731. x-location of {_location} is {x.wohnung27.1.sign}
  5732. y-location of {_location} is {y.wohnung27.1.sign}
  5733. z-location of {_location} is {z.wohnung27.1.sign}
  5734. open chest with 1 rows named "&8Wohnung" to player
  5735. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5736. if player has permission "op":
  5737. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a27" to be unstealable
  5738. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5739. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5740. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5741. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung27.Besitzer}%" to be unstealable
  5742. if {wohnung27.Besitzer} is "Unverkauft":
  5743. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung27.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 27"]
  5744. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5745. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5746. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5747. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5748. if {wohnung27.Besitzer} is "%player%":
  5749. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 27"]
  5750. if {Wohnung27.Wiederverkauf} is true:
  5751. if {wohnung27.Besitzer} is "%player%":
  5752. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 27"]
  5753. else:
  5754. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung27.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 27"]
  5755.  
  5756. on rightclick on sign:
  5757. line 2 of event-block is "&8[&6Wohnraum&8]"
  5758. set {_location} to location of event-block
  5759. x-location of {_location} is {x.wohnung28.1.sign}
  5760. y-location of {_location} is {y.wohnung28.1.sign}
  5761. z-location of {_location} is {z.wohnung28.1.sign}
  5762. open chest with 1 rows named "&8Wohnung" to player
  5763. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5764. if player has permission "op":
  5765. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a28" to be unstealable
  5766. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5767. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5768. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5769. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung28.Besitzer}%" to be unstealable
  5770. if {wohnung28.Besitzer} is "Unverkauft":
  5771. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung28.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 28"]
  5772. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5773. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5774. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5775. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5776. if {wohnung28.Besitzer} is "%player%":
  5777. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 28"]
  5778. if {Wohnung28.Wiederverkauf} is true:
  5779. if {wohnung28.Besitzer} is "%player%":
  5780. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 28"]
  5781. else:
  5782. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung28.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 28"]
  5783.  
  5784. on rightclick on sign:
  5785. line 2 of event-block is "&8[&6Wohnraum&8]"
  5786. set {_location} to location of event-block
  5787. x-location of {_location} is {x.wohnung29.1.sign}
  5788. y-location of {_location} is {y.wohnung29.1.sign}
  5789. z-location of {_location} is {z.wohnung29.1.sign}
  5790. open chest with 1 rows named "&8Wohnung" to player
  5791. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5792. if player has permission "op":
  5793. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a29" to be unstealable
  5794. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5795. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5796. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5797. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung29.Besitzer}%" to be unstealable
  5798. if {wohnung29.Besitzer} is "Unverkauft":
  5799. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung29.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 29"]
  5800. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5801. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5802. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5803. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5804. if {wohnung29.Besitzer} is "%player%":
  5805. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 29"]
  5806. if {Wohnung29.Wiederverkauf} is true:
  5807. if {wohnung29.Besitzer} is "%player%":
  5808. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 29"]
  5809. else:
  5810. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung29.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 29"]
  5811.  
  5812. on rightclick on sign:
  5813. line 2 of event-block is "&8[&6Wohnraum&8]"
  5814. set {_location} to location of event-block
  5815. x-location of {_location} is {x.wohnung30.1.sign}
  5816. y-location of {_location} is {y.wohnung30.1.sign}
  5817. z-location of {_location} is {z.wohnung30.1.sign}
  5818. open chest with 1 rows named "&8Wohnung" to player
  5819. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5820. if player has permission "op":
  5821. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a30" to be unstealable
  5822. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5823. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5824. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5825. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung30.Besitzer}%" to be unstealable
  5826. if {wohnung30.Besitzer} is "Unverkauft":
  5827. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung30.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 30"]
  5828. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5829. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5830. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5831. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5832. if {wohnung30.Besitzer} is "%player%":
  5833. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 30"]
  5834. if {Wohnung30.Wiederverkauf} is true:
  5835. if {wohnung30.Besitzer} is "%player%":
  5836. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 30"]
  5837. else:
  5838. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung30.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 30"]
  5839.  
  5840. on rightclick on sign:
  5841. line 2 of event-block is "&8[&6Wohnraum&8]"
  5842. set {_location} to location of event-block
  5843. x-location of {_location} is {x.wohnung31.1.sign}
  5844. y-location of {_location} is {y.wohnung31.1.sign}
  5845. z-location of {_location} is {z.wohnung31.1.sign}
  5846. open chest with 1 rows named "&8Wohnung" to player
  5847. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5848. if player has permission "op":
  5849. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a31" to be unstealable
  5850. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5851. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5852. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5853. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung31.Besitzer}%" to be unstealable
  5854. if {wohnung31.Besitzer} is "Unverkauft":
  5855. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung31.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 31"]
  5856. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5857. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5858. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5859. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5860. if {wohnung31.Besitzer} is "%player%":
  5861. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 31"]
  5862. if {Wohnung31.Wiederverkauf} is true:
  5863. if {wohnung31.Besitzer} is "%player%":
  5864. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 31"]
  5865. else:
  5866. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung31.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 31"]
  5867.  
  5868. on rightclick on sign:
  5869. line 2 of event-block is "&8[&6Wohnraum&8]"
  5870. set {_location} to location of event-block
  5871. x-location of {_location} is {x.wohnung32.1.sign}
  5872. y-location of {_location} is {y.wohnung32.1.sign}
  5873. z-location of {_location} is {z.wohnung32.1.sign}
  5874. open chest with 1 rows named "&8Wohnung" to player
  5875. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5876. if player has permission "op":
  5877. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a32" to be unstealable
  5878. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5879. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5880. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5881. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung32.Besitzer}%" to be unstealable
  5882. if {wohnung32.Besitzer} is "Unverkauft":
  5883. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung32.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 32"]
  5884. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5885. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5886. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5887. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5888. if {wohnung32.Besitzer} is "%player%":
  5889. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 32"]
  5890. if {Wohnung32.Wiederverkauf} is true:
  5891. if {wohnung32.Besitzer} is "%player%":
  5892. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 32"]
  5893. else:
  5894. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung32.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 32"]
  5895.  
  5896. on rightclick on sign:
  5897. line 2 of event-block is "&8[&6Wohnraum&8]"
  5898. set {_location} to location of event-block
  5899. x-location of {_location} is {x.wohnung33.1.sign}
  5900. y-location of {_location} is {y.wohnung33.1.sign}
  5901. z-location of {_location} is {z.wohnung33.1.sign}
  5902. open chest with 1 rows named "&8Wohnung" to player
  5903. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5904. if player has permission "op":
  5905. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a33" to be unstealable
  5906. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5907. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5908. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5909. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung33.Besitzer}%" to be unstealable
  5910. if {wohnung33.Besitzer} is "Unverkauft":
  5911. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung33.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 33"]
  5912. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5913. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5914. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5915. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5916. if {wohnung33.Besitzer} is "%player%":
  5917. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 33"]
  5918. if {Wohnung33.Wiederverkauf} is true:
  5919. if {wohnung33.Besitzer} is "%player%":
  5920. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 33"]
  5921. else:
  5922. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung33.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 33"]
  5923.  
  5924. on rightclick on sign:
  5925. line 2 of event-block is "&8[&6Wohnraum&8]"
  5926. set {_location} to location of event-block
  5927. x-location of {_location} is {x.wohnung34.1.sign}
  5928. y-location of {_location} is {y.wohnung34.1.sign}
  5929. z-location of {_location} is {z.wohnung34.1.sign}
  5930. open chest with 1 rows named "&8Wohnung" to player
  5931. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5932. if player has permission "op":
  5933. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a34" to be unstealable
  5934. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5935. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5936. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5937. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung34.Besitzer}%" to be unstealable
  5938. if {wohnung34.Besitzer} is "Unverkauft":
  5939. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung34.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 34"]
  5940. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5941. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5942. if {wohnung34.Besitzer} is "%player%":
  5943. format slot 6 of player with 322:0 named "&8» &7Freund hinzufügen!" to close then run [make player execute command "312098412addfriend 34"]
  5944. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5945. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5946. if {wohnung34.Besitzer} is "%player%":
  5947. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 34"]
  5948. if {Wohnung34.Wiederverkauf} is true:
  5949. if {wohnung34.Besitzer} is "%player%":
  5950. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 34"]
  5951. else:
  5952. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung34.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 34"]
  5953.  
  5954. on rightclick on sign:
  5955. line 2 of event-block is "&8[&6Wohnraum&8]"
  5956. set {_location} to location of event-block
  5957. x-location of {_location} is {x.wohnung35.1.sign}
  5958. y-location of {_location} is {y.wohnung35.1.sign}
  5959. z-location of {_location} is {z.wohnung35.1.sign}
  5960. open chest with 1 rows named "&8Wohnung" to player
  5961. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5962. if player has permission "op":
  5963. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a35" to be unstealable
  5964. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5965. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5966. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5967. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung35.Besitzer}%" to be unstealable
  5968. if {wohnung35.Besitzer} is "Unverkauft":
  5969. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung35.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 35"]
  5970. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5971. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5972. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5973. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5974. if {wohnung35.Besitzer} is "%player%":
  5975. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 35"]
  5976. if {Wohnung35.Wiederverkauf} is true:
  5977. if {wohnung35.Besitzer} is "%player%":
  5978. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 35"]
  5979. else:
  5980. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung35.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 35"]
  5981.  
  5982. on rightclick on sign:
  5983. line 2 of event-block is "&8[&6Wohnraum&8]"
  5984. set {_location} to location of event-block
  5985. x-location of {_location} is {x.wohnung36.1.sign}
  5986. y-location of {_location} is {y.wohnung36.1.sign}
  5987. z-location of {_location} is {z.wohnung36.1.sign}
  5988. open chest with 1 rows named "&8Wohnung" to player
  5989. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5990. if player has permission "op":
  5991. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a36" to be unstealable
  5992. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5993. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5994. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5995. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung36.Besitzer}%" to be unstealable
  5996. if {wohnung36.Besitzer} is "Unverkauft":
  5997. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung36.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 36"]
  5998. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  5999. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6000. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6001. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6002. if {wohnung36.Besitzer} is "%player%":
  6003. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 36"]
  6004. if {Wohnung36.Wiederverkauf} is true:
  6005. if {wohnung36.Besitzer} is "%player%":
  6006. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 36"]
  6007. else:
  6008. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung36.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 36"]
  6009.  
  6010. on rightclick on sign:
  6011. line 2 of event-block is "&8[&6Wohnraum&8]"
  6012. set {_location} to location of event-block
  6013. x-location of {_location} is {x.wohnung37.1.sign}
  6014. y-location of {_location} is {y.wohnung37.1.sign}
  6015. z-location of {_location} is {z.wohnung37.1.sign}
  6016. open chest with 1 rows named "&8Wohnung" to player
  6017. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6018. if player has permission "op":
  6019. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a37" to be unstealable
  6020. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6021. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6022. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6023. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung37.Besitzer}%" to be unstealable
  6024. if {wohnung37.Besitzer} is "Unverkauft":
  6025. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung37.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 37"]
  6026. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6027. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6028. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6029. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6030. if {wohnung37.Besitzer} is "%player%":
  6031. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 37"]
  6032. if {Wohnung37.Wiederverkauf} is true:
  6033. if {wohnung37.Besitzer} is "%player%":
  6034. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 37"]
  6035. else:
  6036. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung37.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 37"]
  6037.  
  6038. on rightclick on sign:
  6039. line 2 of event-block is "&8[&6Wohnraum&8]"
  6040. set {_location} to location of event-block
  6041. x-location of {_location} is {x.wohnung38.1.sign}
  6042. y-location of {_location} is {y.wohnung38.1.sign}
  6043. z-location of {_location} is {z.wohnung38.1.sign}
  6044. open chest with 1 rows named "&8Wohnung" to player
  6045. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6046. if player has permission "op":
  6047. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a38" to be unstealable
  6048. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6049. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6050. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6051. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung38.Besitzer}%" to be unstealable
  6052. if {wohnung38.Besitzer} is "Unverkauft":
  6053. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung38.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 38"]
  6054. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6055. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6056. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6057. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6058. if {wohnung38.Besitzer} is "%player%":
  6059. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 38"]
  6060. if {Wohnung38.Wiederverkauf} is true:
  6061. if {wohnung38.Besitzer} is "%player%":
  6062. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 38"]
  6063. else:
  6064. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung38.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 38"]
  6065.  
  6066. on rightclick on sign:
  6067. line 2 of event-block is "&8[&6Wohnraum&8]"
  6068. set {_location} to location of event-block
  6069. x-location of {_location} is {x.wohnung39.1.sign}
  6070. y-location of {_location} is {y.wohnung39.1.sign}
  6071. z-location of {_location} is {z.wohnung39.1.sign}
  6072. open chest with 1 rows named "&8Wohnung" to player
  6073. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6074. if player has permission "op":
  6075. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a39" to be unstealable
  6076. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6077. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6078. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6079. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung39.Besitzer}%" to be unstealable
  6080. if {wohnung39.Besitzer} is "Unverkauft":
  6081. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung39.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 39"]
  6082. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6083. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6084. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6085. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6086. if {wohnung39.Besitzer} is "%player%":
  6087. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 39"]
  6088. if {Wohnung39.Wiederverkauf} is true:
  6089. if {wohnung39.Besitzer} is "%player%":
  6090. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 39"]
  6091. else:
  6092. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung39.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 39"]
  6093.  
  6094. on rightclick on sign:
  6095. line 2 of event-block is "&8[&6Wohnraum&8]"
  6096. set {_location} to location of event-block
  6097. x-location of {_location} is {x.wohnung40.1.sign}
  6098. y-location of {_location} is {y.wohnung40.1.sign}
  6099. z-location of {_location} is {z.wohnung40.1.sign}
  6100. open chest with 1 rows named "&8Wohnung" to player
  6101. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6102. if player has permission "op":
  6103. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a40" to be unstealable
  6104. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6105. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6106. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6107. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung40.Besitzer}%" to be unstealable
  6108. if {wohnung40.Besitzer} is "Unverkauft":
  6109. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung40.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 40"]
  6110. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6111. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6112. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6113. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6114. if {wohnung40.Besitzer} is "%player%":
  6115. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 40"]
  6116. if {Wohnung40.Wiederverkauf} is true:
  6117. if {wohnung40.Besitzer} is "%player%":
  6118. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 40"]
  6119. else:
  6120. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung40.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 40"]
  6121.  
  6122. on rightclick on sign:
  6123. line 2 of event-block is "&8[&6Wohnraum&8]"
  6124. set {_location} to location of event-block
  6125. x-location of {_location} is {x.wohnung41.1.sign}
  6126. y-location of {_location} is {y.wohnung41.1.sign}
  6127. z-location of {_location} is {z.wohnung41.1.sign}
  6128. open chest with 1 rows named "&8Wohnung" to player
  6129. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6130. if player has permission "op":
  6131. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a41" to be unstealable
  6132. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6133. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6134. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6135. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung41.Besitzer}%" to be unstealable
  6136. if {wohnung41.Besitzer} is "Unverkauft":
  6137. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung41.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 41"]
  6138. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6139. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6140. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6141. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6142. if {wohnung41.Besitzer} is "%player%":
  6143. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 41"]
  6144. if {Wohnung41.Wiederverkauf} is true:
  6145. if {wohnung41.Besitzer} is "%player%":
  6146. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 41"]
  6147. else:
  6148. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung41.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 41"]
  6149.  
  6150. on rightclick on sign:
  6151. line 2 of event-block is "&8[&6Wohnraum&8]"
  6152. set {_location} to location of event-block
  6153. x-location of {_location} is {x.wohnung42.1.sign}
  6154. y-location of {_location} is {y.wohnung42.1.sign}
  6155. z-location of {_location} is {z.wohnung42.1.sign}
  6156. open chest with 1 rows named "&8Wohnung" to player
  6157. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6158. if player has permission "op":
  6159. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a42" to be unstealable
  6160. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6161. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6162. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6163. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung42.Besitzer}%" to be unstealable
  6164. if {wohnung42.Besitzer} is "Unverkauft":
  6165. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung42.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 42"]
  6166. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6167. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6168. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6169. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6170. if {wohnung42.Besitzer} is "%player%":
  6171. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 42"]
  6172. if {Wohnung42.Wiederverkauf} is true:
  6173. if {wohnung42.Besitzer} is "%player%":
  6174. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 42"]
  6175. else:
  6176. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung42.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 42"]
  6177.  
  6178. on rightclick on sign:
  6179. line 2 of event-block is "&8[&6Wohnraum&8]"
  6180. set {_location} to location of event-block
  6181. x-location of {_location} is {x.wohnung43.1.sign}
  6182. y-location of {_location} is {y.wohnung43.1.sign}
  6183. z-location of {_location} is {z.wohnung43.1.sign}
  6184. open chest with 1 rows named "&8Wohnung" to player
  6185. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6186. if player has permission "op":
  6187. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a43" to be unstealable
  6188. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6189. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6190. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6191. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung43.Besitzer}%" to be unstealable
  6192. if {wohnung43.Besitzer} is "Unverkauft":
  6193. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung43.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 43"]
  6194. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6195. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6196. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6197. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6198. if {wohnung43.Besitzer} is "%player%":
  6199. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 43"]
  6200. if {Wohnung43.Wiederverkauf} is true:
  6201. if {wohnung43.Besitzer} is "%player%":
  6202. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 43"]
  6203. else:
  6204. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung43.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 43"]
  6205.  
  6206. on rightclick on sign:
  6207. line 2 of event-block is "&8[&6Wohnraum&8]"
  6208. set {_location} to location of event-block
  6209. x-location of {_location} is {x.wohnung44.1.sign}
  6210. y-location of {_location} is {y.wohnung44.1.sign}
  6211. z-location of {_location} is {z.wohnung44.1.sign}
  6212. open chest with 1 rows named "&8Wohnung" to player
  6213. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6214. if player has permission "op":
  6215. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a44" to be unstealable
  6216. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6217. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6218. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6219. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung44.Besitzer}%" to be unstealable
  6220. if {wohnung44.Besitzer} is "Unverkauft":
  6221. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung44.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 44"]
  6222. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6223. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6224. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6225. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6226. if {wohnung44.Besitzer} is "%player%":
  6227. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 44"]
  6228. if {Wohnung44.Wiederverkauf} is true:
  6229. if {wohnung44.Besitzer} is "%player%":
  6230. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 44"]
  6231. else:
  6232. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung44.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 44"]
  6233.  
  6234. on rightclick on sign:
  6235. line 2 of event-block is "&8[&6Wohnraum&8]"
  6236. set {_location} to location of event-block
  6237. x-location of {_location} is {x.wohnung45.1.sign}
  6238. y-location of {_location} is {y.wohnung45.1.sign}
  6239. z-location of {_location} is {z.wohnung45.1.sign}
  6240. open chest with 1 rows named "&8Wohnung" to player
  6241. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6242. if player has permission "op":
  6243. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a45" to be unstealable
  6244. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6245. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6246. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6247. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung45.Besitzer}%" to be unstealable
  6248. if {wohnung45.Besitzer} is "Unverkauft":
  6249. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung45.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 45"]
  6250. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6251. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6252. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6253. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  6254. if {wohnung45.Besitzer} is "%player%":
  6255. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 45"]
  6256. if {Wohnung45.Wiederverkauf} is true:
  6257. if {wohnung45.Besitzer} is "%player%":
  6258. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 45"]
  6259. else:
  6260. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung45.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 45"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement