Advertisement
Guest User

AC 1.1 Test

a guest
Apr 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.41 KB | None | 0 0
  1. //= ActiveChat 1.1 ===================================================================
  2.  
  3. // Found an error? Please make a screenshot and copy the relevant LOGs
  4. // and send them via private message at forum.kadcon.de to "22855".
  5. // You can find your LOGs at this path:
  6. // .minecraft/liteconfig/common/macros/logs/ActiveChatDebug.txt
  7.  
  8. // HowTo Install:
  9. //
  10. // 1) Go to your keyboard screen.
  11. // 2) Click on the white icon at the top left corner.
  12. // 3) Click on "GUI Editor".
  13. // 4) Click on "ingame" on the left side.
  14. // 5) Click on the white icon at the bottom left corner.
  15. // 6) Click on "Adjust grid".
  16. // -> "rows" = "3"
  17. // -> "colums" = "2"
  18. // 7) Click on the white icon at the bottom left corner.
  19. // 8) Click on "Add Textarea"
  20. // 9) Set your new Textarea on the left side of the second row.
  21. // 10) Rightclick your Textarea to edit its settings:
  22. // -> "Control Name" = "TempInfo"
  23. // -> "Message life" = "100"
  24. // 11) Click on "OK" to save your changes.
  25. // 12) Press [Esc]
  26. // 13) Click on "inchat" on the left side.
  27. // 14) Click on the white icon at the bottom left corner.
  28. // 15) Click on "Add Label"
  29. // 16) Set your new Label in the bottom left corner.
  30. // 17) Rightclick your Label to edit its settings:
  31. // -> "Control Name" = "ActiveChat"
  32. // -> "Background colour" = "0"
  33. // -> "Text Align" = "Bottom Left"
  34. // 18) Click on "OK" to save your changes.
  35. // 19) Press [Esc]
  36. // 20) Press [Esc]
  37. // 21) Click on the white icon at the top left corner.
  38. // 22) Click on "Edit Chat Filter".
  39. // 23) Paste the whole code you are reading right now in there.
  40. // 24) Click on "OK" to save the code.
  41. // 25) Press [Esc] to leave the Macro Mod screen.
  42. // 26) Disconnect from the server if you are connected to one.
  43. // 27) Connect to kadcon.de and enjoy ActiveChat!
  44. // 28) You can also change or disable features if you scroll down to OPTIONS!
  45.  
  46. //= OPTIONS ==========================================================================
  47.  
  48. #on=1
  49. // Master switch for all functions
  50. // 0 - off
  51. // 1 - on
  52.  
  53. #news=0
  54. // Shows Kadcon news for the invite system
  55. // 0 - off
  56. // 1 - on
  57.  
  58. #activechat=1
  59. // Shows you your active chat via label
  60. // 0 - off
  61. // 1 - on
  62.  
  63. #money=1
  64. // Makes /money messages short and fancy
  65. // 0 - off
  66. // 1 - on
  67.  
  68. #bank=1
  69. // Changes /kbank infos and replaces the guy at the bank
  70. // 0 - off
  71. // 1 - on
  72. #bank_adds_visible=10
  73. // Shows names of added players
  74. // 0 - off (does not show added players)
  75. // 1 - on
  76. // 2+ - on (names will only be shown if there are less added players than the value of #bank_adds_visible)
  77.  
  78. #shop=1
  79. // Makes shop messages so damn fancy. Holy shit!
  80. // 0 - off
  81. // 1 - on
  82. #shop_customer=1
  83. // Shows a message when someone buys from a shop of yours
  84. // 0 - off
  85. // 1 - on
  86. #shop_empty=1
  87. // Shows a message when someone trys to buy from an empty shop of yours
  88. // 0 - off
  89. // 1 - on
  90. #shop_mainchat=1
  91. // Decide where to show shop messages
  92. // 0 - TempInfo (2nd chat)
  93. // 1 - Chat (normal chat)
  94.  
  95. #tpa=2
  96. // Makes tpa requests much shorter and fancy
  97. // 0 - off
  98. // 1 - on
  99. // 2 - on (Using just "/tpa" and "/tpahere" will automatically
  100. // send the request to your chatpartner)
  101.  
  102. #guildinfo=1
  103. // Filters unnecessary lines and changes join/leave messages
  104. // 0 - off
  105. // 1 - on
  106.  
  107. #ping=1
  108. // Changes ping messages. For style reasons.
  109. // 0 - off
  110. // 1 - on
  111.  
  112. #mail=1
  113. // Makes mail messages fancy
  114. // 0 - off
  115. // 1 - on
  116. #mail_only_new=1
  117. // Only shows messages when you have new mail
  118. // 0 - off
  119. // 1 - on
  120.  
  121. #votes=1
  122. // Makes vote messages short and fancy
  123. // (vote.kadcon.de links will be useless - Type /votes to get a working link)
  124. // 0 - off
  125. // 1 - on
  126. #votes_short=1
  127. // Replaces the voters names with the amount of voters
  128. // 0 - off
  129. // 1 - on
  130. // 2+ - on (names will only be shown if there are less voters than the value of #votes_short)
  131. #votes_reward=1
  132. // Shows your periodic vote rewards
  133. // 0 - off
  134. // 1 - on
  135. #votes_voted=1
  136. // Shows messages that you voted on the vote page
  137. // 0 - off
  138. // 1 - on
  139. #votes_others=1
  140. // Shows all the other vote messages
  141. // 0 - off
  142. // 1 - on
  143.  
  144. #server=1
  145. // Makes messages from a server switch short and fancy
  146. // 0 - off
  147. // 1 - on
  148.  
  149. #noperm=1
  150. // Changes "You don't have permission ..." messages
  151. // 0 - off
  152. // 1 - on
  153. #noperm_clean_action=1
  154. // Filters those messages caused by action (e.g. hitting things)
  155. // 0 - off
  156. // 1 - on
  157. #noperm_sound_action=1
  158. // Makes a villager sound when you get messages caused by action
  159. // 0 - off
  160. // 1 - on
  161. #noperm_sound_chat=0
  162. // Makes a villager sound when you get messages caused by chat commands
  163. // 0 - off
  164. // 1 - on
  165.  
  166. #mcmmo=1
  167. // Filters and changes mcMMO messages and protects normal chat from it
  168. // 0 - off
  169. // 1 - on
  170.  
  171. #lag=1
  172. // Changes the message of /lag
  173. // 0 - off
  174. // 1 - on
  175.  
  176. #spawnie=1
  177. // Filters /spawnie help messages
  178. // 0 - off
  179. // 1 - on
  180.  
  181. #crates=1
  182. // Filters crate opening messages
  183. // Changes crate win messages
  184. // 0 - off
  185. // 1 - on
  186. #crates_normal=1
  187. // Shows crate messages of normal prizes
  188. // 0 - off
  189. // 1 - on (shows messages in chat)
  190. // 2 - on (shows messages in TempInfo)
  191.  
  192. #chat=1
  193. // Changes chat messages (exept for ones including links)
  194. // 0 - off
  195. // 1 - on
  196.  
  197. #version=1
  198. // Shows the version of ActiveChat if you join on kadcon.de
  199. // 0 - off
  200. // 1 - on
  201.  
  202. #spleef=1
  203. // Activate fancy Spleef messages
  204. // 0 - off
  205. // 1 - on
  206.  
  207. #view=0
  208. // Shows Fake-View messages
  209. // 0 - off
  210. // 1 - on
  211.  
  212. #spamfilter=0
  213. // Filters AniSaliLesi's annoying messages
  214. // 0 - off
  215. // 1 - on (output in TempInfo)
  216. // 2 - on (no output at all)
  217.  
  218. #debug=0
  219. // Don't know what's going on?
  220. // 0 - Normal operation mode
  221. // 1 - Show ALL chat messages (original and changed ones)
  222.  
  223. //====================================================================================
  224.  
  225. logto(ActiveChatDebug.txt,%CHAT%)
  226.  
  227. // TAGS
  228. &tag_version="§r§5ActiveChat§r §e1.1§r"
  229. &tag_activechat="§r§8§l>>>§r"
  230. &tag_afk="§r§8[§7§lAFK§r§8]§r"
  231. &tag_money="§r§8[§r§aMoney§r§8]§r"
  232. &tag_itime="§r§8[§r§aiTime§r§8]§r"
  233. &tag_bank="§r§8[§r§aBank§r§8]§r"
  234. &tag_bank_assistent="§r§7[§aBank§7]§r §fMonet§r"
  235. &tag_bank_cashmashine="§r§8[§r§6KCash§r§8]§r"
  236. &tag_shop="§r§8[§r§aShop§r§8]§r"
  237. &tag_votes="§r§8[§r§aVotes§r§8]§r"
  238. &tag_server="§r§8[§r§cServer§r§8]§r"
  239. &tag_spleef="§r§8[§r§aSpleef§r§8]§r"
  240. &tag_tpa="§r§8[§r§aTpa§r§8]§r"
  241. &tag_ping="§r§8[§r§aPing§r§8]§r"
  242. &tag_mail="§r§8[§r§aMail§r§8]§r"
  243. &tag_crates="§r§8[§r§aCrates§r§8]§r"
  244. &tag_mcmmo="§r§8[§r§amcMMO§r§8]§r"
  245. &tag_arrow_r="§r§8»§r"
  246. &tag_minus="§r§8-§r"
  247.  
  248. if(#nocheck>0)
  249. dec(#nocheck)
  250. else
  251. if(#on)
  252. do
  253. ifcontains(%CHAT%,".com")
  254. else
  255. ifcontains(%CHAT%,".net")
  256. else
  257. ifcontains(%CHAT%,".gl")
  258. else
  259. ifcontains(%CHAT%,".io")
  260. else
  261. ifcontains(%CHAT%,".li")
  262. else
  263. ifcontains(%CHAT%,".ly")
  264. else
  265. ifcontains(%CHAT%,".be")
  266. else
  267. ifbeginswith(%CHAT%,"§2§lNeu!")
  268. if(#news=0)
  269. #cut=1
  270. break
  271. endif
  272. endif
  273. ifcontains(%CHAT%,".de")
  274. ifmatches(%CHAT%,"§6 -------- §4§lK§aadcon.de §2Chat-Channel 1 §6 -------- §r")
  275. #nocheck=6
  276. endif
  277. if(#mcmmo)
  278. ifmatches(%CHAT%,"mcMMO-Drop! \(Angel-Regeln beachten. Siehe §rregeln.kadcon.de§r 1.9\)§r")
  279. #cut=1
  280. break
  281. endif
  282. endif
  283. if(#server)
  284. ifmatches(%CHAT%,"§6\*\*\* Willkommen auf §r§6Kadcon.de§r§6! Ihr gestaltet die Stadt! \*\*\*§r")
  285. #cut=1
  286. break
  287. endif
  288. ifmatches(%CHAT%,"§bForum: §r§7forum.kadcon.de§r§7 - §r§bVotes: §r§7vote.kadcon.de§r")
  289. #cut=1
  290. break
  291. endif
  292. ifmatches(%CHAT%,"§c2x §r§cvote.kadcon.de§r§c und 825 Kadis erhalten!§r")
  293. #cut=1
  294. break
  295. endif
  296. endif
  297. ifendswith(%CHAT%," für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r")
  298. if(#votes)
  299. ifbeginswith(%CHATCLEAN%,"[")
  300. else
  301. ifendswith(%CHAT%,"§r§a wurde für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r")
  302. #cut=1
  303. if(#votes_short=0)
  304. match(%CHAT%,"§6(.*)§r§a wurde für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r",{&votes_voters})
  305. log("%&tag_votes%§r §3%&votes_voters%§r §7was§r §7rewarded§r §7for§r §7voting.§r")
  306. break
  307. elseif(#votes_short=1)
  308. log("%&tag_votes%§r §7The§r §7server§r §7received§r §e1§r §eVote§r§7.§r")
  309. break
  310. endif
  311. endif
  312. ifendswith(%CHAT%,"§r§a wurden für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r")
  313. #cut=1
  314. ifbeginswith(%CHAT%,"§aDie Spieler §r§6")
  315. match(%CHAT%,"§aDie Spieler §r§6(.*)§r§a wurden für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r",{&votes_voters})
  316. replace(&votes_voters,"Ein Kadconer","§3Ein§r §3Kadconer§r")
  317. split("§r§6, ",%&votes_voters%,&votes_voters_array[])
  318. arraysize(&votes_voters_array[],#votes_amount)
  319. if(#votes_short=0)
  320. join("§r§7,§r §3",&votes_voters_array[],&votes_voters)
  321. log("%&tag_votes%§r §7Rewarded§r §7voters:§r §3%&votes_voters%§r")
  322. break
  323. elseif(#votes_short>#votes_amount)
  324. join("§r§7,§r §3",&votes_voters_array[],&votes_voters)
  325. log("%&tag_votes%§r §7Rewarded§r §7voters:§r §3%&votes_voters%§r")
  326. break
  327. else
  328. log("%&tag_votes%§r §7The§r §7server§r §7received§r §e%#votes_amount%§r §eVotes§r§7.§r")
  329. break
  330. endif
  331. endif
  332. endif
  333. endif
  334. endif
  335. endif
  336. else
  337. ifbeginswith(%CHATCLEAN%,"[")
  338. ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f]")
  339. ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§bYou joined '§r§bkadcon")
  340. if(#switch=0)
  341. echo("/kbank")
  342. #name_check=1
  343. #guild=0
  344. &tpa_teleportaccepted="NULL"
  345. if(#version)
  346. log("§dYou are using %&tag_version%§r§d!§r")
  347. log("§dPlease §dreport§r §7bugs§r §dto§r §322855§r§d!§r")
  348. endif
  349. endif
  350. if(#server)
  351. #cut=1
  352. match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§bYou joined '§r§bkadcon(.*).server'§r",{&server_server})
  353. log("§e§lWelcome§r §e§lto§r §4§lK§r§a§ladcon.de§r §e§lServer§r §6§l%&server_server%§r§e§l!§r")
  354. endif
  355. if(#activechat)
  356. &activechat_colored="§eLocal"
  357. &activechat_active="Local"
  358. #afk=0
  359. #updatelabel=1
  360. endif
  361. #mail_mails_old=0
  362. #switch=0
  363. break
  364. endif
  365. if(#crates)
  366. ifendswith(%CHAT%,"Piece§r")
  367. if(#crates_special=2)
  368. #cut=1
  369. match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§b (.*)§r",{&crates_win})
  370. log("%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §b%&crates_win%§r§7!§r")
  371. break
  372. endif
  373. else
  374. ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§b §r")
  375. #cut=1
  376. break
  377. endif
  378. endif
  379. ifmatches(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§c§k\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|§r")
  380. #cut=1
  381. #crates_special=1
  382. break
  383. endif
  384. ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§bOpening ")
  385. #cut=1
  386. #crates_special=0
  387. break
  388. endif
  389. ifmatches(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§6You need to wait a second before opening another crate.§r")
  390. #cut=1
  391. break
  392. endif
  393. ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§6WIN: '")
  394. #cut=1
  395. match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§6WIN: '(.*)'§r",{&crates_win})
  396. if(%&crates_win%="null")
  397. &crates_win="§5§lDRAGON_HEAD§r"
  398. endif
  399. log("%&tag_crates%§r §7You§r §7won§r §c%&crates_win%§r§7!§r")
  400. break
  401. else
  402. ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§6WIN: ")
  403. #cut=1
  404. match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§6WIN: (.*) (.*)§r",{&crates_win,&crates_amount})
  405. if(#crates_special=1)
  406. ifcontains(%&crates_win%,"BUTTON")
  407. #crates_special=2
  408. break
  409. else
  410. #crates_special=0
  411. log("%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §b%&crates_win%§r§7!§r")
  412. break
  413. endif
  414. elseif(#crates_normal=1)
  415. log("%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §a%&crates_win%§r§7!§r")
  416. break
  417. elseif(#crates_normal=2)
  418. logto(TempInfo,"%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §a%&crates_win%§r§7!§r")
  419. break
  420. endif
  421. endif
  422. endif
  423. endif
  424. else
  425. #crates_special=0
  426. ifbeginswith(%CHAT%,"§e[l] ")
  427. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r")
  428. if(#bank)
  429. if(#chat)
  430. &bank_chat="§8[§e/l§8]§r"
  431. else
  432. &bank_chat="§e[l]§r"
  433. endif
  434. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ab sofort kann §r")
  435. #cut=1
  436. ifcontains(%CHAT%,"§r§a nicht mehr auf das Konto §r§6")
  437. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ab sofort kann §r§a nicht mehr auf das Konto §r§6")
  438. log("%&bank_chat% %&tag_bank_assistent%§e: §ePlease§r §etell§r §eme§r §ethe§r §ename§r §eof§r §ethe§r §eperson§r §eyou§r §ewant§r §eto§r §eremove§r §efrom§r §6%&bank_account%§r§e.§r")
  439. break
  440. else
  441. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ab sofort kann §r§e(.*)§r§a nicht mehr auf das Konto §r§6(.*)§r§a zugreifen.§r",{&bank_add,&bank_account})
  442. log("%&bank_chat% %&tag_bank_assistent%§e: §3%&bank_add%§r §ehas§r §eno§r §eaccess§r §eto§r §eyour§r §ebank§r §eaccount§r §6%&bank_account%§r §eanymore.§r")
  443. break
  444. endif
  445. else
  446. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ab sofort kann §r§e(.*)§r§a auf das Konto §r§6(.*)§r§a zugreifen.§r",{&bank_add,&bank_account})
  447. log("%&bank_chat% %&tag_bank_assistent%§e: §3%&bank_add%§r §ehas§r §enow§r §efull§r §eaccess§r §eto§r §eyour§r §ebank§r §eaccount§r §6%&bank_account%§r§e.§r §eWe§r §edo§r §enot§r §erefund§r §eany§r §estolen§r §emoney.§r")
  448. break
  449. endif
  450. endif
  451. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cBitte beachten Sie: Die Bank haftet nicht dafür, wenn §r§e")
  452. #cut=1
  453. break
  454. endif
  455. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§6Entschuldigung, ich habe Sie leider nicht verstanden.§r")
  456. #cut=1
  457. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eSorry.§r §eI§r §edid§r §enot§r §eunderstand§r §ewhat§r §eyou§r §esaid.§r")
  458. break
  459. endif
  460. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie das Konto mit dem Namen §r§6")
  461. #cut=1
  462. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie das Konto mit dem Namen §r§6(.*)§r§a eröffnet.§r",{&bank_account})
  463. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYour§r §enew§r §ebank§r §eaccount§r §6%&bank_account%§r §eis§r §eready§r §eto§r §ebe§r §eused.§r")
  464. break
  465. endif
  466. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie §r§e")
  467. #cut=1
  468. ifcontains(%CHAT%,"§r§a Kadis auf das Konto §r§6")
  469. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie §r§e(.*)§r§a Kadis auf das Konto §r§6(.*)§r§a eingezahlt.§r",{&bank_amount,&bank_account})
  470. ifcontains(%&bank_account%,"(")
  471. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eI§r §etransferred§r §e%&bank_amount%§r §eKadis§r §eto§r §eyour§r §eprivate§r §ebank§r §eaccount.§r")
  472. break
  473. else
  474. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eI§r §etransferred§r §e%&bank_amount%§r §eKadis§r §eto§r §eyour§r §ebank§r §eaccount§r §6%&bank_account%§r§e.§r")
  475. break
  476. endif
  477. else
  478. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie §r§e(.*)§r§a von Konto §r§6(.*)§r§a auf das Konto §r§6(.*)§r§a überwiesen.§r",{&bank_amount,&bank_from,&bank_to})
  479. ifcontains(%&bank_from%,"(")
  480. log("%&bank_chat% %&tag_bank_assistent%§e:§r §e%&bank_amount%§r §eKadis§r §efrom§r §eyour§r §eprivate§r §ebank§r §eaccount§r §ehave§r §ebeen§r §etransferred§r §eto§r §6%&bank_to%§r§e.§r")
  481. break
  482. else
  483. log("%&bank_chat% %&tag_bank_assistent%§e:§r §e%&bank_amount%§r §eKadis§r §efrom§r §6%&bank_from%§r §ehave§r §ebeen§r §etransferred§r §eto§r §6%&bank_to%§r§e.§r")
  484. break
  485. endif
  486. endif
  487. endif
  488. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Hier sind Ihre §r§e")
  489. #cut=1
  490. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Hier sind Ihre §r§e(.*)§r§a Kadis vom Konto §r§6(.*)§r§a.§r",{&bank_amount,&bank_account})
  491. ifcontains(%&bank_account%,"(")
  492. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eHere§r §eare§r §eyour§r §e%&bank_amount%§r §eKadis§r §efrom§r §eyour§r §eprivate§r §ebank§r §eaccount.§r")
  493. break
  494. else
  495. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eHere§r §eare§r §eyour§r §e%&bank_amount%§r §eKadis§r §efrom§r §eyour§r §ebank§r §eaccount§r §6%&bank_account%§r§e.§r")
  496. break
  497. endif
  498. endif
  499. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ich habe Ihr Konto §r§6")
  500. #cut=1
  501. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ich habe Ihr Konto §r§6(.*)§r§a geschlossen.§r",{&bank_account})
  502. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYour§r §ebank§r §eaccount§r §6%&bank_account%§r §ewas§r §edeleted.§r")
  503. break
  504. endif
  505. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cLeider gibt es schon ein Konto mit dem Namen §r§6")
  506. #cut=1
  507. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cLeider gibt es schon ein Konto mit dem Namen §r§6(.*)§r§a.§r",{&bank_account})
  508. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eThere§r §eis§r §ealready§r §ea§r §ebank§r §eaccount§r §enamed§r §6%&bank_account%§r§e.§r")
  509. break
  510. endif
  511. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cEs tut mir leid, Sie haben keinen Zugriff auf das Konto §r§6")
  512. #cut=1
  513. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cEs tut mir leid, Sie haben keinen Zugriff auf das Konto §r§6(.*)§r§c.§r",{&bank_account})
  514. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §edon't§r §ehave§r §eaccess§r §eto§r §6%&bank_account%§r§e.§r")
  515. break
  516. endif
  517. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cEs tut mir leid, auf dem Konto §r§6")
  518. #cut=1
  519. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cEs tut mir leid, auf dem Konto §r§6(.*)§r§c sind nicht genug Kadis.§r",{&bank_account})
  520. ifcontains(%&bank_account%,"(")
  521. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eThere§r §eare§r §enot§r §eenough§r §eKadis§r §eon§r §eyour§r §eprivate§r §ebank§r §eaccount§r§e.§r")
  522. break
  523. else
  524. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eThere§r §eare§r §enot§r §eenough§r §eKadis§r §eon§r §eyour§r §ebank§r §eaccount§r §6%&bank_account%§r§e.§r")
  525. break
  526. endif
  527. endif
  528. ifmatches(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cEs tut mir leid, Sie haben nicht genug Geld.§r")
  529. #cut=1
  530. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §edon't§r §ehave§r §eenought§r §eKadis§r §efor§r §ethis§r §etransaction.§r")
  531. break
  532. endif
  533. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cSie haben bereits die Maximalanzahl an Konten eröffnet.§r")
  534. #cut=1
  535. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §ecannot§r §eopen§r §eanother§r §ebank§r §eaccount.§r")
  536. break
  537. endif
  538. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ab sofort können Sie nicht mehr auf das Konto §r§6")
  539. #cut=1
  540. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ab sofort können Sie nicht mehr auf das Konto §r§6(.*)§r§a zugreifen, für erneuten Zugriff melden Sie sich bitte beim Kontobesitzer.§r",{&bank_account})
  541. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §ehave§r §ebeen§r §eremoved§r §efrom§r §6%&bank_account%§r§e.§r")
  542. break
  543. endif
  544. ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cAuf Ihrem Konto sind noch §r§e")
  545. #cut=1
  546. match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cAuf Ihrem Konto sind noch §r§e(.*) Kadis§r§c, bitte leeren Sie es zuerst.§r",{&bank_amount})
  547. log("%&bank_chat% %&tag_bank_assistent%§e:§r §ePlease§r §ewithdraw§r §eyour§r §e%&bank_amount%§r §eKadis§r §ebefore§r §eclosing§r §eyour§r §ebank§r §eaccount.§r")
  548. break
  549. endif
  550. ifmatches(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cDer Mindestbetrag liegt bei 1 Kadi.§r")
  551. #cut=1
  552. log("%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §ehave§r §eto§r §etransfer§r §eat§r §eleast§r §e1§r §eKadi.§r")
  553. break
  554. endif
  555. ifmatches(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Hier ist Ihre Kontoinformation:§r")
  556. #cut=1
  557. break
  558. endif
  559. endif
  560. else
  561. ifbeginswith(%CHAT%,"§e[l] §r§fAutomat§r§e: §r")
  562. if(#bank)
  563. if(#chat)
  564. &bank_chat="&8[§e/l§8]§r"
  565. else
  566. &bank_chat="&e[l]§r"
  567. endif
  568. ifmatches(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§cEs tut mir leid, Sie haben nicht genug Geld.§r")
  569. #cut=1
  570. log("%&bank_chat% %&tag_bank_cashmashine%§r§e:§r §eYou§r §edon't§r §ehave§r §eenought§r §eKadis§r §efor§r §ethis§r §etransaction.§r")
  571. break
  572. endif
  573. ifmatches(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§cEs tut mir leid, auf dem Konto §r§6\(%&name%\)§r§c sind nicht genug Kadis.§r")
  574. #cut=1
  575. log("%&bank_chat% %&tag_bank_cashmashine%§r§e:§r §eYour§r §eprivate§r §ebank§r §eaccount§r §edoes§r §enot§r §ehave§r §eenough§r §eKadis§r §efor§r §ethis§r §etransaction.§r")
  576. break
  577. endif
  578. ifbeginswith(%CHAT%,"§e[l] §r§fAutomat§r§e: §r§aGerne. Ich habe für Sie §r§e")
  579. #cut=1
  580. match(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§aGerne. Ich habe für Sie §r§e(.*)§r§a Kadis auf das Konto §r§6\(%&name%\)§r§a eingezahlt.§r",{&bank_amount})
  581. log("%&bank_chat% %&tag_bank_cashmashine%§r§e:§r §e%&bank_amount%§r §eKadis§r §ehave§r §ebeen§r §etransferred§r §eto§r §eyour§r §eprivate§r §ebank§r §eaccount.§r")
  582. break
  583. endif
  584. ifbeginswith(%CHAT%,"§e[l] §r§fAutomat§r§e: §r§aGerne. Hier sind Ihre §r§e")
  585. #cut=1
  586. match(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§aGerne. Hier sind Ihre §r§e(.*)§r§a Kadis vom Konto §r§6\(%&name%\)§r§a.§r",{&bank_amount})
  587. log("%&bank_chat% %&tag_bank_cashmashine%§r§e:§r §e%&bank_amount%§r §eKadis§r §efrom§r §eyour§r §eprivate§r §ebank§r §eaccount.§r §eHere§r §eyou§r §ego!§r")
  588. break
  589. endif
  590. ifmatches(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§aGerne. Hier ist Ihre Kontoinformation:§r")
  591. #cut=1
  592. break
  593. endif
  594. endif
  595. else
  596. if(#chat)
  597. match(%CHAT%,"§e\[l\] §r(.*)§r§e: (.*)§r",{&chat_name,&chat_message})
  598. &chat_color="§e"
  599. &chat_symbol="/l"
  600. #chat_change=1
  601. break
  602. endif
  603. endif
  604. endif
  605. else
  606. ifbeginswith(%CHAT%,"§2[G] ")
  607. if(#chat)
  608. match(%CHAT%,"§2\[G\] §r(.*)§r§2: (.*)§r",{&chat_name,&chat_message})
  609. &chat_color="§2"
  610. &chat_symbol="/g"
  611. #chat_change=1
  612. break
  613. endif
  614. else
  615. ifbeginswith(%CHAT%,"§9[T] ")
  616. if(#chat)
  617. match(%CHAT%,"§9\[T\] §r(.*)§r§9: (.*)§r",{&chat_name,&chat_message})
  618. &chat_color="§9"
  619. &chat_symbol="/t"
  620. #chat_change=1
  621. break
  622. endif
  623. else
  624. ifbeginswith(%CHAT%,"§b[h] ")
  625. if(#chat)
  626. match(%CHAT%,"§b\[h\] §r(.*)§r§b: (.*)§r",{&chat_name,&chat_message})
  627. &chat_color="§b"
  628. &chat_symbol="/h"
  629. #chat_change=1
  630. break
  631. endif
  632. else
  633. ifbeginswith(%CHAT%,"§6[S] ")
  634. if(#chat)
  635. match(%CHAT%,"§6\[S\] §r(.*)§r§6: (.*)§r",{&chat_name,&chat_message})
  636. &chat_color="§6"
  637. &chat_symbol="/s"
  638. #chat_change=1
  639. break
  640. endif
  641. else
  642. ifbeginswith(%CHAT%,"§2[Guild] > ")
  643. if(#chat)
  644. #cut=1
  645. &chat_guild=%CHAT%
  646. split(" ",%&chat_guild%,&chat_guild_array[])
  647. match(%&chat_guild_array[2]%,"§r§a(.*)§r§7\[§r§6(.*)§r§7\]",{&chat_name,&chat_server})
  648. match(%CHAT%,"§2\[Guild\] > §r§a%&chat_name%§r§7\[§r§6%&chat_server%§r§7\] (.*)§r",{&chat_message})
  649. log("§8[§3/gc§r §6%&chat_server%§8]§r §a%&chat_name%§r§3:§r §f%&chat_message%§r")
  650. break
  651. endif
  652. else
  653. ifbeginswith(%CHAT%,"§a[Shop] ")
  654. if(#shop)
  655. ifcontains(%CHAT%,") von ")
  656. ifbeginswith(%CHAT%,"§a[Shop] §r§fDu hast §r§a")
  657. match(%CHAT%,"§a\[Shop\] §r§fDu hast §r§a(.*)§r (.*) \((.*)\) von (.*) für §r§c(.*) Kadis§r gekauft.§r",{#shop_amount,&shop_item,&shop_id,&shop_player,&shop_money})
  658. else
  659. match(%CHAT%,"§a\[Shop\] §r§fDu hast (.*) MONSTER_EGG (.*) \((.*)\) von (.*) für §r§c(.*) Kadis§r gekauft.§r",{#shop_amount,&shop_item,&shop_id,&shop_player,&shop_money})
  660. endif
  661. &shop_action="You buy"
  662. endif
  663. ifcontains(%CHAT%,") an ")
  664. ifbeginswith(%CHAT%,"§a[Shop] §r§fDu hast §r§a")
  665. match(%CHAT%,"§a\[Shop\] §r§fDu hast §r§a(.*)§r (.*) \((.*)\) an (.*) für §r§c(.*) Kadis§r verkauft.§r",{#shop_amount,&shop_item,&shop_id,&shop_player,&shop_money})
  666. else
  667. match(%CHAT%,"§a\[Shop\] §r§fDu hast (.*) MONSTER_EGG (.*) \((.*)\) an (.*) für §r§c(.*) Kadis§r verkauft.§r",{#shop_amount,&shop_item,&shop_id,&shop_player,&shop_money})
  668. endif
  669. &shop_action="You sell"
  670. endif
  671. ifcontains(%CHAT%," hat von dir §r§a")
  672. ifendswith(%CHAT%," Kadis Steuern) gekauft.§r")
  673. match(%CHAT%,"§a\[Shop\] §r§f(.*) hat von dir §r§a(.*)§r (.*) \((.*)\) für §r§c(.*) Kadis§r \((.*)\) gekauft.§r",{&shop_player,#shop_amount,&shop_item,&shop_id,&shop_money,&shop_tax})
  674. else
  675. match(%CHAT%,"§a\[Shop\] §r§f(.*) hat von dir §r§a(.*)§r (.*) \((.*)\) für §r§c(.*) Kadis§r gekauft.§r",{&shop_player,#shop_amount,&shop_item,&shop_id,&shop_money})
  676. endif
  677. &shop_action="They buy"
  678. else
  679. ifcontains(%CHAT%," hat von dir ")
  680. ifendswith(%CHAT%," Kadis Steuern) gekauft.§r")
  681. match(%CHAT%,"§a\[Shop\] §r§f(.*) hat von dir (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*) Kadis§r \((.*)\) gekauft.§r",{&shop_player,#shop_amount,&shop_item,&shop_id,&shop_money,&shop_tax})
  682. else
  683. match(%CHAT%,"§a\[Shop\] §r§f(.*) hat von dir (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*) Kadis§r gekauft.§r",{&shop_player,#shop_amount,&shop_item,&shop_id,&shop_money})
  684. endif
  685. &shop_action="They buy"
  686. endif
  687. endif
  688. ifcontains(%CHAT%," hat dir §r§a")
  689. match(%CHAT%,"§a\[Shop\] §r§f(.*) hat dir §r§a(.*)§r (.*) \((.*)\) für §r§c(.*) Kadis§r verkauft.§r",{&shop_player,#shop_amount,&shop_item,&shop_id,&shop_money})
  690. &shop_action="They sell"
  691. else
  692. ifcontains(%CHAT%," hat dir ")
  693. match(%CHAT%,"§a\[Shop\] §r§f(.*) hat dir (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*) Kadis§r verkauft.§r",{&shop_player,#shop_amount,&shop_item,&shop_id,&shop_money})
  694. &shop_action="They sell"
  695. endif
  696. endif
  697. if(&shop_item="Music Disc")
  698. if(&shop_id="2256:0")
  699. &shop_item="%&shop_item%§r §d13§r"
  700. elseif(&shop_id="2257:0")
  701. &shop_item="%&shop_item%§r §dCat§r"
  702. elseif(&shop_id="2258:0")
  703. &shop_item="%&shop_item%§r §dBlocks§r"
  704. elseif(&shop_id="2259:0")
  705. &shop_item="%&shop_item%§r §dChirp§r"
  706. elseif(&shop_id="2260:0")
  707. &shop_item="%&shop_item%§r §dFar§r"
  708. elseif(&shop_id="2261:0")
  709. &shop_item="%&shop_item%§r §dMall§r"
  710. elseif(&shop_id="2262:0")
  711. &shop_item="%&shop_item%§r §dMellohi§r"
  712. elseif(&shop_id="2263:0")
  713. &shop_item="%&shop_item%§r §dStal§r"
  714. elseif(&shop_id="2264:0")
  715. &shop_item="%&shop_item%§r §dStrad§r"
  716. elseif(&shop_id="2265:0")
  717. &shop_item="%&shop_item%§r §dWard§r"
  718. elseif(&shop_id="2266:0")
  719. &shop_item="%&shop_item%§r §d11§r"
  720. elseif(&shop_id="2267:0")
  721. &shop_item="%&shop_item%§r §dWait§r"
  722. endif
  723. endif
  724. if(#shop_mainchat)
  725. if(&shop_action!="")
  726. if(&shop_action="You buy")
  727. log("%&tag_shop%§r §7You§r §7bought§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §4[§r§c-§r§e%&shop_money%§r §eKadis§r§4]§r")
  728. logto(TempInfo,"%&tag_shop%§r §7You§r §7bought§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §4[§r§c-§r§e%&shop_money%§r §eKadis§r§4]§r")
  729. if(&shop_compensation!="")
  730. log("%&tag_shop%§r §7You§r §7got§r §7item§r §7quality§r §7compensation.§r §2[§r§a+§r§e%&shop_compensation%§r §eKadis§r§2]§r")
  731. logto(TempInfo,"%&tag_shop%§r §7You§r §7got§r §7item§r §7quality§r §7compensation.§r §2[§r§a+§r§e%&shop_compensation%§r §eKadis§r§2]§r")
  732. &shop_compensation=""
  733. endif
  734. elseif(&shop_action="You sell")
  735. log("%&tag_shop%§r §7You§r §7sold§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §2[§r§a+§r§e%&shop_money%§r §eKadis§r§2]§r")
  736. logto(TempInfo,"%&tag_shop%§r §7You§r §7sold§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §2[§r§a+§r§e%&shop_money%§r §eKadis§r§2]§r")
  737. if(&shop_compensation!="")
  738. log("%&tag_shop%§r §7You§r §7paid§r §7item§r §7quality§r §7compensation.§r §4[§r§c-§r§e%&shop_compensation%§r §eKadis§r§4]§r")
  739. logto(TempInfo,"%&tag_shop%§r §7You§r §7paid§r §7item§r §7quality§r §7compensation.§r §4[§r§c-§r§e%&shop_compensation%§r §eKadis§r§4]§r")
  740. &shop_compensation=""
  741. endif
  742. elseif(&shop_action="They buy")
  743. if(#shop_customer)
  744. log("%&tag_shop%§r §3%&shop_player%§r §7bought§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §2[§r§a+§r§e%&shop_money%§r §eKadis§r§2]§r")
  745. endif
  746. elseif(&shop_action="They sell")
  747. if(#shop_customer)
  748. log("%&tag_shop%§r §3%&shop_player%§r §7sold§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §4[§r§c-§r§e%&shop_money%§r §eKadis§r§4]§r")
  749. endif
  750. endif
  751. &shop_action=""
  752. #cut=1
  753. endif
  754. ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast nicht genug Items, um hier zu verkaufen!§r")
  755. log("%&tag_shop%§r §7You don't have this item.§r")
  756. #cut=1
  757. endif
  758. ifmatches(%CHAT%,"§a\[Shop\] §r§fDie Shopkiste hat nicht genug Platz!§r")
  759. log("%&tag_shop%§r §7This shop does not have the required free space.§r")
  760. #cut=1
  761. endif
  762. ifmatches(%CHAT%,"§a\[Shop\] §r§fDer Shopbesitzer hat nicht genug Geld!§r")
  763. log("%&tag_shop%§r §7The shop owner is out of money.§r")
  764. #cut=1
  765. endif
  766. ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast nicht genug Geld!§r")
  767. log("%&tag_shop%§r §7You can't afford that.§r")
  768. #cut=1
  769. endif
  770. ifmatches(%CHAT%,"§a\[Shop\] §r§fDieser Shop kann nicht benutzt werden! \(fehlt eine Kiste\?\)§r")
  771. log("%&tag_shop%§r §7This shop can't be used. The chest is missing.§r")
  772. #cut=1
  773. endif
  774. ifmatches(%CHAT%,"§a\[Shop\] §r§fHier kannst du nichts kaufen!§r")
  775. log("%&tag_shop%§r §7You can't buy items here.§r")
  776. #cut=1
  777. endif
  778. ifmatches(%CHAT%,"§a\[Shop\] §r§fHier kannst du nichts verkaufen!§r")
  779. log("%&tag_shop%§r §7You can't sell items here.§r")
  780. #cut=1
  781. endif
  782. ifmatches(%CHAT%,"§a\[Shop\] §r§fDafür hast du keine Berechtigung!§r")
  783. log("%&tag_shop%§r §7You don't have access to this shop chest.§r")
  784. #cut=1
  785. endif
  786. ifmatches(%CHAT%,"§a\[Shop\] §r§fDein Inventar hat nicht genug Platz§r")
  787. log("%&tag_shop%§r §7Your inventory does not have enough space.§r")
  788. #cut=1
  789. endif
  790. ifmatches(%CHAT%,"§a\[Shop\] §r§fShop erfolgreich erstellt! - 50.00 Kadis§r")
  791. log("%&tag_shop%§r §7Shop§r §7created!§r §4[§r§c-§r§e50§r §eKadis§r§4]§r")
  792. #cut=1
  793. endif
  794. ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast 40.00 Kadis zurückbekommen.§r")
  795. log("%&tag_shop%§r §7Shop§r §7closed.§r §2[§r§a+§r§e40§r §eKadis§r§2]§r")
  796. #cut=1
  797. endif
  798. ifmatches(%CHAT%,"§a\[Shop\] §r§fDieser Shop ist gerade ausverkauft.§r")
  799. log("%&tag_shop%§r §7This shop is out of stock.§r")
  800. #cut=1
  801. else
  802. ifcontains(%CHAT%," Shop ist ausverkauft!§r§7 [")
  803. match(%CHAT%,"§a\[Shop\] §r§fDein (.*) Shop ist ausverkauft!§r§7 \[(.*)\]§r",{&shop_item,&shop_position})
  804. if(#shop_empty=1)
  805. log("%&tag_shop%§r §7Your§r §a%&shop_item%§r §7shop§r §7at§r §a/finde§r §a%&shop_position%§r §7is§r §7empty.§r")
  806. endif
  807. #cut=1
  808. endif
  809. endif
  810. else
  811. if(&shop_action!="")
  812. if(&shop_action="You buy")
  813. logto(TempInfo,"%&tag_shop%§r §7You§r §7bought§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §4[§r§c-§r§e%&shop_money%§r §eKadis§r§4]§r")
  814. logto(TempInfo,"%&tag_shop%§r §7You§r §7bought§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §4[§r§c-§r§e%&shop_money%§r §eKadis§r§4]§r")
  815. if(&shop_compensation!="")
  816. logto(TempInfo,"%&tag_shop%§r §7You§r §7got§r §7item§r §7quality§r §7compensation.§r §2[§r§a+§r§e%&shop_compensation%§r §eKadis§r§2]§r")
  817. logto(TempInfo,"%&tag_shop%§r §7You§r §7got§r §7item§r §7quality§r §7compensation.§r §2[§r§a+§r§e%&shop_compensation%§r §eKadis§r§2]§r")
  818. &shop_compensation=""
  819. endif
  820. elseif(&shop_action="You sell")
  821. logto(TempInfo,"%&tag_shop%§r §7You§r §7sold§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §2[§r§a+§r§e%&shop_money%§r §eKadis§r§2]§r")
  822. logto(TempInfo,"%&tag_shop%§r §7You§r §7sold§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §2[§r§a+§r§e%&shop_money%§r §eKadis§r§2]§r")
  823. if(&shop_compensation!="")
  824. logto(TempInfo,"%&tag_shop%§r §7You§r §7paid§r §7item§r §7quality§r §7compensation.§r §4[§r§c-§r§e%&shop_compensation%§r §eKadis§r§4]§r")
  825. logto(TempInfo,"%&tag_shop%§r §7You§r §7paid§r §7item§r §7quality§r §7compensation.§r §4[§r§c-§r§e%&shop_compensation%§r §eKadis§r§4]§r")
  826. &shop_compensation=""
  827. endif
  828. elseif(&shop_action="They buy")
  829. if(#shop_customer)
  830. logto(TempInfo,"%&tag_shop%§r §3%&shop_player%§r §7bought§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §2[§r§a+§r§e%&shop_money%§r §eKadis§r§2]§r")
  831. endif
  832. elseif(&shop_action="They sell")
  833. if(#shop_customer)
  834. logto(TempInfo,"%&tag_shop%§r §3%&shop_player%§r §7sold§r §e%#shop_amount%§r §a%&shop_item%§r§7.§r §4[§r§c-§r§e%&shop_money%§r §eKadis§r§4]§r")
  835. endif
  836. endif
  837. &shop_action=""
  838. #cut=1
  839. endif
  840. ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast nicht genug Items, um hier zu verkaufen!§r")
  841. logto(TempInfo,"%&tag_shop%§r §7You don't have this item.§r")
  842. #cut=1
  843. endif
  844. ifmatches(%CHAT%,"§a\[Shop\] §r§fDie Shopkiste hat nicht genug Platz!§r")
  845. logto(TempInfo,"%&tag_shop%§r §7This shop does not have the required free space.§r")
  846. #cut=1
  847. endif
  848. ifmatches(%CHAT%,"§a\[Shop\] §r§fDer Shopbesitzer hat nicht genug Geld!§r")
  849. logto(TempInfo,"%&tag_shop%§r §7The shop owner is out of money.§r")
  850. #cut=1
  851. endif
  852. ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast nicht genug Geld!§r")
  853. logto(TempInfo,"%&tag_shop%§r §7You can't afford that.§r")
  854. #cut=1
  855. endif
  856. ifmatches(%CHAT%,"§a\[Shop\] §r§fDieser Shop kann nicht benutzt werden! \(fehlt eine Kiste\?\)§r")
  857. logto(TempInfo,"%&tag_shop%§r §7This shop can't be used. The chest is missing.§r")
  858. #cut=1
  859. endif
  860. ifmatches(%CHAT%,"§a\[Shop\] §r§fHier kannst du nichts kaufen!§r")
  861. logto(TempInfo,"%&tag_shop%§r §7You can't buy items here.§r")
  862. #cut=1
  863. endif
  864. ifmatches(%CHAT%,"§a\[Shop\] §r§fHier kannst du nichts verkaufen!§r")
  865. logto(TempInfo,"%&tag_shop%§r §7You can't sell items here.§r")
  866. #cut=1
  867. endif
  868. ifmatches(%CHAT%,"§a\[Shop\] §r§fDafür hast du keine Berechtigung!§r")
  869. logto(TempInfo,"%&tag_shop%§r §7You don't have access to this shop chest.§r")
  870. #cut=1
  871. endif
  872. ifmatches(%CHAT%,"§a\[Shop\] §r§fDein Inventar hat nicht genug Platz§r")
  873. logto(TempInfo,"%&tag_shop%§r §7Your inventory does not have enough space.§r")
  874. #cut=1
  875. endif
  876. ifmatches(%CHAT%,"§a\[Shop\] §r§fShop erfolgreich erstellt! - 50.00 Kadis§r")
  877. logto(TempInfo,"%&tag_shop%§r §7Shop§r §7created!§r §4[§r§c-§r§e50§r §eKadis§r§4]§r")
  878. #cut=1
  879. endif
  880. ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast 40.00 Kadis zurückbekommen.§r")
  881. logto(TempInfo,"%&tag_shop%§r §7Shop§r §7closed.§r §2[§r§a+§r§e40§r §eKadis§r§2]§r")
  882. #cut=1
  883. endif
  884. ifmatches(%CHAT%,"§a\[Shop\] §r§fDieser Shop ist gerade ausverkauft.§r")
  885. logto(TempInfo,"%&tag_shop%§r §7This shop is out of stock.§r")
  886. #cut=1
  887. else
  888. ifcontains(%CHAT%," Shop ist ausverkauft!§r§7 [")
  889. match(%CHAT%,"§a\[Shop\] §r§fDein (.*) Shop ist ausverkauft!§r§7 \[(.*)\]§r",{&shop_item,&shop_position})
  890. if(#shop_empty=1)
  891. logto(TempInfo,"%&tag_shop%§r §7Your§r §a%&shop_item%§r §7shop§r §7at§r §a/finde§r §a%&shop_position%§r §7is§r §7empty.§r")
  892. endif
  893. #cut=1
  894. endif
  895. endif
  896. endif
  897. endif
  898. else
  899. ifbeginswith(%CHAT%,"§2[§r§fMoney§r§2] ")
  900. if(#money)
  901. ifbeginswith(%CHAT%,"§2[§r§fMoney§r§2] §r§2Balance: §r§f")
  902. match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§2Balance: §r§f(.*) Kadis§r",{&money_pocket})
  903. log("%&tag_money%§r §7You§r §7got§r §e%&money_pocket%§r §eKadis§r §7in§r §7your§r §7pocket§r§7.§r")
  904. #cut=1
  905. endif
  906. ifbeginswith(%CHAT%,"§2[§r§fMoney§r§2] §r§2You have sent §r§f")
  907. match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§2You have sent §r§f(.*) Kadis§r§2 to §r§f(.*)§r§2.§r",{&money_payed,&money_receiver})
  908. log("%&tag_money%§r §7You§r §7have§r §7sent§r §e%&money_payed%§r §eKadis§r §7to§r §3%&money_receiver%§r§7.§r")
  909. #cut=1
  910. endif
  911. ifcontains(%CHAT%,"§r§2 has sent you §r§f")
  912. match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§f(.*)§r§2 has sent you §r§f(.*) Kadis§r§2.§r",{&money_sender,&money_received})
  913. log("%&tag_money%§r §7You§r §7recieved§r §e%&money_received%§r §eKadis§r §7from§r §3%&money_sender%§r§7.§r")
  914. #cut=1
  915. endif
  916. ifcontains(%CHAT%,"'s Balance: §r§f")
  917. match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§2(.*)'s Balance: §r§f(.*) Kadis§r",{&money_name,&money_pocket})
  918. log("%&tag_money%§r §3%&money_name%§r §7has§r §e%&money_pocket%§r §eKadis§r §7in§r §7the§r §7pocket§r§7.§r")
  919. #cut=1
  920. endif
  921. endif
  922. else
  923. ifbeginswith(%CHAT%,"§d[Spleef ")
  924. match(%CHAT%,"§d\[Spleef (.*)\]§w (.*)",{&spleef_arena,&spleef_dump})
  925. if(#spleef)
  926. ifbeginswith(%CHAT%,"§d[Spleef %&spleef_arena%]§w Spiel startet in ")
  927. #cut=1
  928. match(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w Spiel startet in (.*) Sekunden§r",{&spleef_time})
  929. logto(TempInfo,"%&tag_spleef%§r §7Game§r §7starts§r §7in:§r §e%&spleef_time%§r §eseconds§r")
  930. playsound(entity.experience_orb.pickup)
  931. break
  932. endif
  933. ifbeginswith(%CHAT%,"§d[Spleef %&spleef_arena%]§w Noch §r§e")
  934. #cut=1
  935. match(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w Noch §r§e(.*)§r§f Minuten Spielzeit§r",{&spleef_time})
  936. if(&spleef_time="1")
  937. log("%&tag_spleef%§r §cGame§r §cends§r §cin§r §e%&spleef_time%§r §eminute§r§c!§r")
  938. else
  939. log("%&tag_spleef%§r §cGame§r §cends§r §cin§r §e%&spleef_time%§r §eminutes§r§c!§r")
  940. endif
  941. break
  942. endif
  943. ifmatches(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w Spiel §r§cbeendet§r§f.§r")
  944. #cut=1
  945. break
  946. endif
  947. ifendswith(%CHAT%,"§r§f Kadis gewonnen!§r")
  948. #cut=1
  949. match(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w §r§b(.*)§r§f hat §r§e(.*)§r§f Kadis gewonnen!§r",{&spleef_winner,&spleef_money})
  950. if(&spleef_winner=&name)
  951. log("%&tag_spleef%§r §5§lYou§r §5§lwon!§r §2[§r§a+§r§e%&spleef_money%.00§r §eKadis§r§2]§r")
  952. playsound(entity.player.levelup)
  953. else
  954. log("%&tag_spleef%§r §5We§r §5have§r §5a§r §5winner!§r §3%&spleef_winner%§r §5won§r §e%&spleef_money%.00§r §eKadis§r§5!§r")
  955. endif
  956. break
  957. endif
  958. ifmatches(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w Es gibt Interessenten für eine neue Runde.§r")
  959. #cut=1
  960. break
  961. endif
  962. ifmatches(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w Eine neue Runde startet gleich.§r")
  963. #cut=1
  964. log("%&tag_spleef%§r §7The§r §7game§r §7will§r §7begin§r §7soon.§r")
  965. break
  966. endif
  967. ifmatches(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w Spiel §r§agestartet§r§f!§r")
  968. #cut=1
  969. log("%&tag_spleef%§r §a§lGO!§r")
  970. logto(TempInfo,"%&tag_spleef%§r §a§lGO!§r")
  971. playsound(entity.rabbit.death)
  972. break
  973. endif
  974. ifmatches(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w §r§cNiemand§r§f hat gewonnen!§r")
  975. #cut=1
  976. log("%&tag_spleef%§r §cThere§r §cis§r §cno§r §cwinner...§r")
  977. break
  978. endif
  979. ifmatches(%CHAT%,"§d\[Spleef %&spleef_arena%\]§w §r§cSpielzeit abgelaufen, beende das Spiel...§r")
  980. #cut=1
  981. log("%&tag_spleef%§r §cTime§r §chas§r §cran§r §cout.§r §cNo§r §cwinner...§r")
  982. break
  983. endif
  984. endif
  985. else
  986. ifbeginswith(%CHAT%,"§6[§r§aPING§r§6]§r§7: §r§a")
  987. if(#ping)
  988. ifbeginswith(%CHAT%,"§6[§r§aPING§r§6]§r§7: §r§aDein Ping ist: §r§6")
  989. match(%CHAT%,"§6\[§r§aPING§r§6\]§r§7: §r§aDein Ping ist: §r§6(.*)§r",{&ping_ping})
  990. log("%&tag_ping%§r§7 Your ping is §e%&ping_ping%§r §ems§r§7.§r")
  991. else
  992. ifbeginswith(%CHAT%,"§6[§r§aPING§r§6]§r§7: §r§aPing von ")
  993. match(%CHAT%,"§6\[§r§aPING§r§6\]§r§7: §r§aPing von (.*) ist: §r§6(.*)§r",{&ping_name,&ping_ping})
  994. log("%&tag_ping%§r §3%&ping_name%§r§7's§r §7ping§r §7is§r §e%&ping_ping%§r §ems§r§7.§r")
  995. else
  996. log("%&tag_ping%§r§7 Player not found...§r")
  997. endif
  998. endif
  999. #cut=1
  1000. endif
  1001. else
  1002. ifbeginswith(%CHAT%,"§2[§r§fTime§r§2] §r§2Balance: §r§f")
  1003. if(#money)
  1004. match(%CHAT%,"§2\[§r§fTime§r§2\] §r§2Balance: §r§f(.*) Minutes§r",{&itime_itime})
  1005. log("%&tag_itime%§r§7 You have §b%&itime_itime%§r &biTime§r§7.§r")
  1006. #cut=1
  1007. endif
  1008. else
  1009. ifbeginswith(%CHAT%,"§6[§r")
  1010. match(%CHAT%,"§6\[§r(.*)§r§6\] (.*)§r",{&mail_sender,&mail_message})
  1011. ifcontains(%&mail_sender%,"#")
  1012. if(#lag)
  1013. match(%&mail_message%,"(.*) TPS",{&lag_tps})
  1014. log("%&tag_server%§r §7I§r §7am§r §7running§r §7at§r §e%&lag_tps%§r§7/§r§e20.0§r §7TPS.§r")
  1015. #cut=1
  1016. endif
  1017. else
  1018. ifcontains(%&mail_sender%,"§f_")
  1019. if(#lag)
  1020. match(%&mail_message%,"(.*) TPS",{&lag_tps})
  1021. log("%&tag_server%§r §7I§r §7am§r §7running§r §7at§r §e%&lag_tps%§r§7/§r§e20.0§r §7TPS.§r")
  1022. #cut=1
  1023. endif
  1024. else
  1025. if(#mail)
  1026. log("%&tag_arrow_r%§r §3%&mail_sender%§r§f: %&mail_message%§r")
  1027. if(#mail_just_sent)
  1028. #mail_just_sent=0
  1029. if(&mail_receiver=&name)
  1030. log(
  1031. #mail_mails=%#mail_mails%+1
  1032. endif
  1033. endif
  1034. #cut=1
  1035. endif
  1036. endif
  1037. endif
  1038. endif
  1039. endif
  1040. endif
  1041. endif
  1042. endif
  1043. endif
  1044. endif
  1045. endif
  1046. endif
  1047. endif
  1048. endif
  1049. endif
  1050. endif
  1051. else
  1052. if(#chat)
  1053. ifmatches(%CHAT%,"§eNiemand hört dich. Schreibe /g DeinText um den ganzen Server anzuschreiben.§r")
  1054. log("%&tag_server%§r §7Nobody heard you. Try§r §a/tell <Name>§r §7or§r §a/g <Text>§r§7.")
  1055. #cut=1
  1056. endif
  1057. ifbeginswith(%CHAT%,"§8From §r")
  1058. if(#chat)
  1059. match(%CHAT%,"§8From §r(.*)§r§d: (.*)§r",{&chat_name,&chat_message})
  1060. &chat_color="§d"
  1061. &chat_symbol="From"
  1062. #chat_change=1
  1063. endif
  1064. else
  1065. ifbeginswith(%CHAT%,"§8To §r")
  1066. if(#chat)
  1067. match(%CHAT%,"§8To §r(.*)§r§d: (.*)§r",{&chat_name,&chat_message})
  1068. &chat_color="§d"
  1069. &chat_symbol="To"
  1070. #chat_change=1
  1071. endif
  1072. endif
  1073. endif
  1074. endif
  1075. if(#mail)
  1076. ifbeginswith(%CHAT%,"§6Du hast ")
  1077. ifmatches(%CHAT%,"§6Du hast keine Nachrichten.§r")
  1078. #mail_mails=0
  1079. log("%&tag_mail%§r§7 You got §e%#mail_mails% mails§7.§r")
  1080. #cut=1
  1081. endif
  1082. ifmatches(%CHAT%,"§6Du hast keine neue Nachrichten.§r")
  1083. #mail_mails=0
  1084. if(#mail_only_new=0)
  1085. log("%&tag_mail%§r§7 You got §e%#mail_mails% mails§7.§r")
  1086. endif
  1087. #cut=1
  1088. endif
  1089. ifbeginswith(%CHAT%,"§6Du hast §r§c")
  1090. match(%CHAT%,"§6Du hast §r§c(.*) §r§6Nachrichten\! Schreibe §r§c/mail read§r§6 um deine Nachrichten anzuzeigen.§r",{#mail_mails})
  1091. if(#mail_only_new)
  1092. if(#mail_mails!=#mail_mails_old)
  1093. #mail_mails_old=%#mail_mails%
  1094. #mail_show=1
  1095. endif
  1096. else
  1097. #mail_show=1
  1098. endif
  1099. if(#mail_show)
  1100. if(#mail_mails!=0)
  1101. if(#mail_mails=1)
  1102. log("%&tag_mail%§r§7 You got §e%#mail_mails% mail§7. Type §a/mail read§7 to read it.§r")
  1103. else
  1104. log("%&tag_mail%§r§7 You got §e%#mail_mails% mails§7. Type §a/mail read§7 to read them.§r")
  1105. endif
  1106. endif
  1107. #mail_show=0
  1108. endif
  1109. #cut=1
  1110. endif
  1111. endif
  1112. ifcontains(%CHAT%,"Mail")
  1113. ifbeginswith(%CHAT%,"§e ---- §r§6Mail: read §r§e--§r§6 Seite §r§c")
  1114. match(%CHAT%,"§e ---- §r§6Mail: read §r§e--§r§6 Seite §r§c(.*)§r§6/§r§c(.*) §r§e----§r",{&mail_page_now,&mail_page_of})
  1115. if(&mail_page_of="1")
  1116. if(#mail_mails=1)
  1117. log("%&tag_mail%§r§7 There is §e1 mail§7 in your mailbox.§r")
  1118. else
  1119. log("%&tag_mail%§r§7 There are §e%#mail_mails% mails§7 in your mailbox.§r")
  1120. endif
  1121. else
  1122. log("%&tag_mail%§r§7 Opening mailbox §e%&mail_page_now%§7 of §e%&mail_page_of%§7. You got §e%#mail_mails% mails§7.§r")
  1123. endif
  1124. #cut=1
  1125. endif
  1126. ifendswith(%CHAT%,"§r§6 wurde diese Mail gesendet:§r")
  1127. match(%CHAT%,"§c(.*)§r§6 wurde diese Mail gesendet:§r",{&mail_receiver})
  1128. log("%&tag_mail%§r§7 You sent §3%&mail_receiver%§7 the following mail:§r")
  1129. #mail_just_sent=1
  1130. #cut=1
  1131. endif
  1132. endif
  1133. ifcontains(%CHAT%,"/mail ")
  1134. ifbeginswith(%CHAT%,"§6Tippe§r§c /mail read ")
  1135. #cut=1
  1136. endif
  1137. ifmatches(%CHAT%,"§6Um deine Nachrichten zu löschen, schreibe§r§c /mail clear.§r")
  1138. if(%&mail_page_of%="1")
  1139. log("%&tag_arrow_r%§r§7 Clear your mailbox with §c/mail clear§7.§r")
  1140. else
  1141. log("%&tag_arrow_r%§r§7 Use §a/mail read 1§8..§a%&mail_page_of%§7 to read and §c/mail clear§7 to clear.§r")
  1142. endif
  1143. #cut=1
  1144. endif
  1145. endif
  1146. ifmatches(%CHAT%,"§6Nachrichten gelöscht!§r")
  1147. log("%&tag_mail%§r§7 You cleared your mailbox.§r")
  1148. #mail_mails=0
  1149. #cut=1
  1150. endif
  1151. endif
  1152. if(#shop)
  1153. ifbeginswith(%CHAT%,"Du wirst §r§a")
  1154. ifendswith(%CHAT%,"§r§f kaufen.§r")
  1155. match(%CHAT%,"Du wirst §r§a(.*)§r (.*) \((.*)\) für §r§c(.*)§r§f kaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
  1156. logto(TempInfo,"%&tag_shop%§r §7Buying§r §e%#shop_amount_request%§r §a%&shop_item%§r§7.§r §4[§c-§e%&shop_money%§r §eKadis§r§4]§r")
  1157. #cut=1
  1158. endif
  1159. ifendswith(%CHAT%,"§r§f verkaufen.§r")
  1160. match(%CHAT%,"Du wirst §r§a(.*)§r (.*) \((.*)\) für §r§c(.*)§r§f verkaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
  1161. logto(TempInfo,"%&tag_shop%§r §7Selling§r §e%#shop_amount_request%§r §a%&shop_item%§r§7.§r §2[§a+§e%&shop_money%§r §eKadis§r§2]§r")
  1162. #cut=1
  1163. endif
  1164. else
  1165. ifbeginswith(%CHAT%,"Du wirst ")
  1166. ifendswith(%CHAT%,"§r§f kaufen.§r")
  1167. match(%CHAT%,"Du wirst (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*)§r§f kaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
  1168. logto(TempInfo,"%&tag_shop%§r §7Buying§r §e%#shop_amount_request%§r §a%&shop_item%§r§7.§r §4[§c-§e%&shop_money%§r §eKadis§r§4]§r")
  1169. #cut=1
  1170. endif
  1171. ifendswith(%CHAT%,"§r§f verkaufen.§r")
  1172. match(%CHAT%,"Du wirst (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*)§r§f verkaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
  1173. logto(TempInfo,"%&tag_shop%§r §7Selling§r §e%#shop_amount_request%§r §a%&shop_item%§r§7.§r §2[§a+§e%&shop_money%§r §eKadis§r§2]§r")
  1174. #cut=1
  1175. endif
  1176. else
  1177. ifbeginswith(%CHAT%,"§aPreiskorrektur basierend auf der ItemQualität. Rückerstattung: ")
  1178. match(%CHAT%,"§aPreiskorrektur basierend auf der ItemQualität. Rückerstattung: (.*) Kadis§r",{&shop_compensation})
  1179. #cut=1
  1180. endif
  1181. endif
  1182. endif
  1183. if(#shop_mainchat)
  1184. ifmatches(%CHAT%,"Der Handel wurde abgebrochen.§r")
  1185. log("%&tag_shop%§r §7Your§r §7trading§r §7request§r §7was§r §7canceled.§r")
  1186. #cut=1
  1187. endif
  1188. else
  1189. ifmatches(%CHAT%,"Der Handel wurde abgebrochen.§r")
  1190. logto(TempInfo,"%&tag_shop%§r §7Your§r §7trading§r §7request§r §7was§r §7canceled.§r")
  1191. #cut=1
  1192. endif
  1193. endif
  1194. endif
  1195. if(#guildinfo)
  1196. ifmatches(%CHAT%,"§b-----------------------------------------------------§r")
  1197. #cut=1
  1198. endif
  1199. ifendswith(%CHAT%," hat das Spiel betreten§r")
  1200. match(%CHAT%,"§a(.*) hat das Spiel betreten§r",{&guild_join_leave})
  1201. log("§8[§a+§8] §3%&guild_join_leave%")
  1202. #cut=1
  1203. endif
  1204. ifendswith(%CHAT%," §r§chat das Spiel verlassen§r")
  1205. match(%CHAT%,"§a(.*) §r§chat das Spiel verlassen§r",{&guild_join_leave})
  1206. log("§8[§4-§8] §3%&guild_join_leave%")
  1207. #cut=1
  1208. endif
  1209. endif
  1210. ifmatches("§a%&name% §r§chat die Gilde verlassen!§r")
  1211. #guild=0
  1212. #updatelabel=1
  1213. #updatechat=1
  1214. endif
  1215. ifmatches("§a%&name% §r§cwurde aus der Gilde geworfen§r")
  1216. #guild=0
  1217. #updatelabel=1
  1218. #updatechat=1
  1219. endif
  1220. if(#activechat)
  1221. ifmatches(%CHAT%,"§eNiemand hat dir eine Nachricht hinterlassen.§r")
  1222. log("%&tag_activechat%§r§7 There is no one to reply...")
  1223. #cut=1
  1224. endif
  1225. ifbeginswith(%CHAT%,"§eDu ")
  1226. ifbeginswith(%CHAT%,"§eDu chattest jetzt mit §r§f")
  1227. match(%CHAT%,"§eDu chattest jetzt mit §r§f(.*)§r§e.§r",{&activechat_active})
  1228. &activechat_colored="§d%&activechat_active%"
  1229. #updatelabel=1
  1230. #updatechat=1
  1231. #cut=1
  1232. endif
  1233. ifbeginswith(%CHAT%,"§eDu chattest jetzt in §r")
  1234. match(%CHAT%,"§eDu chattest jetzt in §r(.*)§r§e.§r",{&activechat_colored})
  1235. strip(&activechat_active,%&activechat_colored%)
  1236. #updatelabel=1
  1237. #updatechat=1
  1238. #cut=1
  1239. endif
  1240. ifmatches(%CHAT%,"§eDu bist nun AFK.§r")
  1241. log("%&tag_activechat%§r§7 You are AFK now. §cGoodbye§7!")
  1242. #afk=1
  1243. #updatelabel=1
  1244. #cut=1
  1245. endif
  1246. ifbeginswith(%CHAT%,"§eDu bist nicht länger AFK.§r")
  1247. log("%&tag_activechat%§r§7 You returned from your AFK-Adventure. §aWelcome back§7!")
  1248. #afk=0
  1249. #updatelabel=1
  1250. #cut=1
  1251. endif
  1252. endif
  1253. ifcontains(%CHAT%," wurde ")
  1254. ifmatches(%CHAT%,"§eSpieler wurde nicht gefunden.§r")
  1255. log("%&tag_activechat%§r§7 Player not found...")
  1256. #cut=1
  1257. endif
  1258. ifmatches(%CHAT%,"§eChannel wurde nicht gefunden.§r")
  1259. log("%&tag_activechat%§r§7 Channel not found...")
  1260. #cut=1
  1261. endif
  1262. ifmatches(%CHAT%,"§2Gilden§r§bchat wurde aktiviert§r")
  1263. #guild=1
  1264. #updatelabel=1
  1265. #updatechat=1
  1266. #cut=1
  1267. endif
  1268. ifmatches(%CHAT%,"§2Gilden§r§bchat wurde deaktiviert§r")
  1269. #guild=0
  1270. #updatelabel=1
  1271. #updatechat=1
  1272. #cut=1
  1273. endif
  1274. endif
  1275. ifbeginswith(%CHAT%,"§c§lDu wirst zu Server ")
  1276. #switch=1
  1277. #cut=1
  1278. endif
  1279. if(%#updatelabel%)
  1280. #updatelabel=0
  1281. if(%#guild%)
  1282. if(%#afk%)
  1283. setlabel(ActiveChat,"%&tag_afk%§r §7§lGuildchat§r §8(§7%&activechat_active%§r§8)")
  1284. else
  1285. setlabel(ActiveChat,"%&tag_activechat%§r §a§lGuildchat§r §8(§7%&activechat_active%§r§8)")
  1286. endif
  1287. else
  1288. if(%#afk%)
  1289. setlabel(ActiveChat,"%&tag_afk%§r §7%&activechat_active%§r")
  1290. else
  1291. setlabel(ActiveChat,"%&tag_activechat%§r %&activechat_colored%§r")
  1292. endif
  1293. endif
  1294. endif
  1295. if(%#updatechat%)
  1296. #updatechat=0
  1297. if(%#guild%)
  1298. if(%#afk%)
  1299. log("%&tag_afk%§r §7§lGuildchat§r §8(§7%&activechat_active%§r§8)")
  1300. else
  1301. log("%&tag_activechat%§r §a§lGuildchat§r §8(§7%&activechat_active%§r§8)")
  1302. endif
  1303. else
  1304. if(%#afk%)
  1305. log("%&tag_afk%§r §7%&activechat_active%§r")
  1306. else
  1307. log("%&tag_activechat%§r %&activechat_colored%§r")
  1308. endif
  1309. endif
  1310. endif
  1311. endif
  1312. if(#tpa)
  1313. ifcontains(%CHAT%,"eleport")
  1314. ifmatches(%CHAT%,"§cFehler:§r§4 §r§4Teleportierungsanfrage ist abgelaufen.§r")
  1315. log("%&tag_tpa%§r §7No§r §7teleport§r §7request§r §7found§r §7within§r §7the§r §7last§r §e30§r §eseconds§r§7.§r")
  1316. #cut=1
  1317. endif
  1318. ifmatches(%CHAT%,"§cFehler:§r§4 §r§4Du hast keine Teleportierungsanfragen.§r")
  1319. log("%&tag_tpa%§r §7No§r §7teleport§r §7request§r §7found§r §7within§r §7the§r §7last§r §e30§r §eseconds§r§7.§r")
  1320. #cut=1
  1321. endif
  1322. ifmatches(%CHAT%,"§6Teleportierungsanfrage verweigert.§r")
  1323. log("%&tag_tpa%§r §7You§r §7denied§r §3%&tpa_teleportin%§r§7's§r §7teleport§r §7request.§r")
  1324. #cut=1
  1325. endif
  1326. ifendswith(%CHAT%,"§r§4 bereits eine Teleportierungsanfrage gesendet.§r")
  1327. ifbeginswith(%CHAT%,"§cFehler:§r§4 §r§4Du hast ")
  1328. match(%CHAT%,"§cFehler:§r§4 §r§4Du hast (.*)§r§4 bereits eine Teleportierungsanfrage gesendet.§r",{&tpa_spam})
  1329. log("%&tag_tpa%§r §cYou§r §calready§r §csent§r §3%&tpa_spam%§r §ca§r §cteleport§r §crequest.§r")
  1330. &tpa_teleport="here"
  1331. #cut=1
  1332. endif
  1333. endif
  1334. ifendswith(%CHAT%,"§6 fragt, ob er sich zu dir teleportieren darf.§r")
  1335. match(%CHAT%,"§c(.*)§r§6 fragt, ob er sich zu dir teleportieren darf.§r",{&tpa_teleportin})
  1336. log("%&tag_tpa%§r §7Teleport§r §3%&tpa_teleportin% §7to§r §7you?§r §8[§r§a/tpaccept§r§8]§r §8[§r§c/tpdeny§r§8]§r")
  1337. &tpa_teleport="here"
  1338. #cut=1
  1339. endif
  1340. ifendswith(%CHAT%,"§6 fragt, ob du dich zu ihm teleportierst.§r")
  1341. match(%CHAT%,"§c(.*)§r§6 fragt, ob du dich zu ihm teleportierst.§r",{&tpa_teleportin})
  1342. log("%&tag_tpa%§r §7Teleport§r §7to§r §3%&tpa_teleportin%§r§7?§r §8[§r§a/tpaccept§r§8]§r §8[§r§c/tpdeny§r§8]§r")
  1343. &tpa_teleport="there"
  1344. #cut=1
  1345. endif
  1346. ifmatches(%CHAT%,"§7Teleportierungsanfrage akzeptiert.§r")
  1347. if(%&tpa_teleport%="here")
  1348. log("%&tag_tpa%§r §7Teleported§r §3%&tpa_teleportin%§r §7to§r §7you.§r")
  1349. elseif(%&tpa_teleport%="there")
  1350. log("%&tag_tpa%§r §7You§r §7teleported§r §7to§r §3%&tpa_teleportin%§r§7.§r")
  1351. endif
  1352. #cut=1
  1353. endif
  1354. ifmatches(%CHAT%,"§6Um zu teleportieren, schreibe §r§c/tpaccept§r§6.§r")
  1355. #cut=1
  1356. endif
  1357. ifendswith(%CHAT%," §r§6hat deine Teleportierungsanfrage angenommen.§r")
  1358. match(%CHAT%,"§c(.*) §r§6hat deine Teleportierungsanfrage angenommen.§r",{&tpa_teleportaccepted})
  1359. #cut=1
  1360. endif
  1361. ifmatches(%CHAT%,"§6Teleportiere...§r")
  1362. #cut=1
  1363. if(%&tpa_teleportaccepted%!="NULL")
  1364. log("%&tag_tpa%§r §3%&tpa_teleportaccepted%§r §7was§r §7teleported§r §7to§r §7you.§r")
  1365. &tpa_teleportaccepted="NULL"
  1366. else
  1367. log("%&tag_tpa%§r §7You§r §7were§r §7teleported.§r")
  1368. endif
  1369. endif
  1370. ifbeginswith(%CHAT%,"§6teleportieren zu §r§c")
  1371. match(%CHAT%,"§6teleportieren zu §r§c(.*)§r§6.§r",{&tpa_teleportaccepted})
  1372. log("%&tag_tpa%§r §7You§r §7have§r §7been§r §7teleported§r §7to§r §3%&tpa_teleportaccepted%§r§7.§r")
  1373. &tpa_teleportaccepted="NULL"
  1374. #cut=1
  1375. endif
  1376. ifmatches(%CHAT%,"Request to teleport to the specified player.§r")
  1377. #cut=1
  1378. endif
  1379. ifmatches(%CHAT%,"Request that the specified player teleport to you.§r")
  1380. #cut=1
  1381. endif
  1382. endif
  1383. ifcontains(%CHAT%,"Anfrage")
  1384. ifmatches(%CHAT%,"§6Um diese Anfrage abzulehnen, schreibe §r§c/tpdeny§r§6.§r")
  1385. #cut=1
  1386. endif
  1387. ifmatches(%CHAT%,"§6Diese Anfrage wird nach§r§c 30 Sekunden§r§6 ungültig.§r")
  1388. #cut=1
  1389. endif
  1390. ifbeginswith(%CHAT%,"§6Anfrage gesendet an§r§c ")
  1391. match(%CHAT%,"§6Anfrage gesendet an§r§c (.*)§r§6.§r",{&tpa_teleportout})
  1392. log("%&tag_tpa%§r §7Teleport§r §7request§r §7sent§r §7to§r §3%&tpa_teleportout%§r§7.§r")
  1393. #cut=1
  1394. endif
  1395. endif
  1396. ifmatches(%CHAT%,"§6Kehre zur letzten Position zurück.§r")
  1397. log("%&tag_tpa%§r §7Wooosh!§r §7You're§r §7back!§r")
  1398. #cut=1
  1399. endif
  1400. ifmatches(%CHAT%,"§cFehler:§r§4 §r§4Spieler nicht gefunden.§r")
  1401. log("%&tag_tpa%§r §7Player§r §7not§r §7found...§r")
  1402. #cut=1
  1403. endif
  1404. endif
  1405. ifmatches(%CHAT%,"/tpa <player>§r")
  1406. if(#tpa)
  1407. if(#tpa=1)
  1408. log("%&tag_tpa%§r §7Use§r §a/tpa§r §a<Name>§r §7to§r §7teleport§r §7yourself§r §7to§r &7a§r &7player.§r")
  1409. #cut=1
  1410. elseif(#tpa=2)
  1411. if(&activechat_colored="§eLocal")
  1412. log("%&tag_tpa%§r §7Use§r §a/tpa§r §a<Name>§r §7to§r §7teleport§r §7yourself§r §7to§r &7a§r &7player.§r")
  1413. elseif(&activechat_colored="")
  1414. log("%&tag_tpa%§r §7Use§r §a/tpa§r §a<Name>§r §7to§r §7teleport§r §7yourself§r §7to§r &7a§r &7player.§r")
  1415. else
  1416. echo("/tpa %&activechat_active%")
  1417. endif
  1418. #cut=1
  1419. endif
  1420. endif
  1421. endif
  1422. ifmatches(%CHAT%,"/tpahere <player>§r")
  1423. if(#tpa)
  1424. if(#tpa=1)
  1425. log("%&tag_tpa%§r §7Use§r §a/tpahere§r §a<Name>§r §7to§r §7teleport§r §7a§r §7player§r §7to§r §7you.§r")
  1426. #cut=1
  1427. elseif(#tpa=2)
  1428. if(&activechat_colored="§eLocal")
  1429. log("%&tag_tpa%§r §7Use§r §a/tpahere§r §a<Name>§r §7to§r §7teleport§r §7a§r §7player§r §7to§r §7you.§r")
  1430. elseif(&activechat_colored="")
  1431. log("%&tag_tpa%§r §7Use§r §a/tpahere§r §a<Name>§r §7to§r §7teleport§r §7a§r §7player§r §7to§r §7you.§r")
  1432. else
  1433. echo("/tpahere %&activechat_active%")
  1434. endif
  1435. #cut=1
  1436. endif
  1437. endif
  1438. endif
  1439. if(#votes)
  1440. ifbeginswith(%CHAT%,"§aDir sind heute bereits §6")
  1441. match(%CHAT%,"§aDir sind heute bereits §6(.*)§a Kadis und §6(.*)§a Minuten entgangen, da du nicht gevotet hast! Wenn du vor 24 Uhr votest, bekommst du das entgangene Geld nachgeliefert!§r",{&votes_kadis,&votes_itime})
  1442. if(#votes_others=1)
  1443. log("%&tag_votes%§r §dVote§r §aTODAY§r §dto§r §dget§r §e%&votes_kadis%§r §eKadis§r §dand§r §b%&votes_itime%§r §biTime§r §dextra!§r")
  1444. endif
  1445. #cut=1
  1446. endif
  1447. ifcontains(%CHAT%,"Vote")
  1448. ifendswith(%CHAT%," Kadis§r§a für die neuen Votes erhalten :)§r")
  1449. match(%CHAT%,"§f(.*) Kadis§r§a für die neuen Votes erhalten :\)§r",{&votes_kadis})
  1450. #cut=1
  1451. endif
  1452. ifendswith(%CHAT%," Minuten§r§b für die neuen Votes erhalten :)§r")
  1453. match(%CHAT%,"§f(.*) Minuten§r§b für die neuen Votes erhalten :\)§r",{&votes_itime})
  1454. if(#votes_reward=1)
  1455. log("%&tag_votes%§r§7 You received §2[§a+§e%&votes_kadis% Kadis§2]§7 and §2[§a+§b%&votes_itime% iTime§2]§7!")
  1456. endif
  1457. #cut=1
  1458. endif
  1459. ifmatches(%CHAT%,"§aDanke fürs Voten, du hast Kadis und iTime erhalten§r")
  1460. if(#votes_voted=1)
  1461. log("%&tag_votes%§r §dThank§r §dyou§r §dfor§r §dyour§r §aVote§r§d!§r §dEnjoy§r §dyour§r §eKadis§r §dand§r §biTime§r§d!§r")
  1462. endif
  1463. #cut=1
  1464. endif
  1465. endif
  1466. endif
  1467. if(#server)
  1468. ifcontains(%CHAT%,"erver")
  1469. ifbeginswith(%CHAT%,"§dWelcome to the server ")
  1470. #cut=1
  1471. endif
  1472. ifbeginswith(%CHAT%,"§6Dir gefaellt der Server? Bitte §r")
  1473. #cut=1
  1474. endif
  1475. endif
  1476. ifcontains(%CHAT%," §r§3 ")
  1477. ifmatches(%CHAT%,"§f §r§f §r§1 §r§0 §r§2 §r§f §r§f §r§2 §r§0 §r§4 §r§3 §r§9 §r§2 §r§0 §r§0 §r§3 §r§9 §r§2 §r§0 §r§0 §r§3 §r§9 §r§2 §r§0 §r§0 §r§3 §r§6 §r§3 §r§6 §r§3 §r§6 §r§3 §r§6 §r§3 §r§6 §r§3 §r§6 §r")
  1478. #cut=1
  1479. endif
  1480. ifmatches(%CHAT%,"§f §r§f §r§1 §r§0 §r§2 §r§4 §r§f §r§f §r§2 §r§0 §r§4 §r§8 §r§3 §r§9 §r§2 §r§0 §r§0 §r")
  1481. #cut=1
  1482. endif
  1483. ifmatches(%CHAT%,"§3 §r§6 §r§3 §r§6 §r§3 §r§6 §r§e §r§3 §r§6 §r§3 §r§6 §r§3 §r§6 §r§d §r")
  1484. #cut=1
  1485. endif
  1486. endif
  1487. endif
  1488. if(#noperm)
  1489. ifbeginswith(%CHAT%,"§4")
  1490. ifmatches(%CHAT%,"§4Du hast keinen Zugriff auf diesen Befehl.§r")
  1491. #noperm_command=1
  1492. #cut=1
  1493. endif
  1494. ifmatches(%CHAT%,"§4You are in a no-PvP area.§r")
  1495. if(#noperm_sound_action=1)
  1496. playsound(entity.villager.no)
  1497. endif
  1498. if(#noperm_clean_action=0)
  1499. log("%&tag_server%§r §7You are in a no-PvP area.§r")
  1500. endif
  1501. #cut=1
  1502. endif
  1503. ifmatches(%CHAT%,"§4PvP is disabled in this area.§r")
  1504. if(#noperm_sound_action=1)
  1505. playsound(entity.villager.no)
  1506. endif
  1507. if(#noperm_clean_action=0)
  1508. log("%&tag_server%§r §7You are in a no-PvP area.§r")
  1509. endif
  1510. #cut=1
  1511. endif
  1512. ifmatches(%CHAT%,"§4Kein Animal-Griefing.§r")
  1513. if(#noperm_sound_action=1)
  1514. playsound(entity.villager.no)
  1515. endif
  1516. if(#noperm_clean_action=0)
  1517. log("%&tag_server%§r §7Be nice to other's Animals.§r")
  1518. endif
  1519. #cut=1
  1520. endif
  1521. ifmatches(%CHAT%,"§4You're not invited to this tea party!§r")
  1522. if(#noperm_sound_action=1)
  1523. playsound(entity.villager.no)
  1524. endif
  1525. if(#noperm_clean_action=0)
  1526. log("%&tag_server%§r §7Get your own cake. Fatass.§r")
  1527. endif
  1528. #cut=1
  1529. endif
  1530. ifmatches(%CHAT%,"§4It is not possible to spawn Animals here!§r")
  1531. if(#noperm_sound_action=1)
  1532. playsound(entity.villager.no)
  1533. endif
  1534. if(#noperm_clean_action=0)
  1535. log("%&tag_server%§r §7Spawn your animals on your land.§r")
  1536. endif
  1537. #cut=1
  1538. endif
  1539. endif
  1540. ifcontains(%CHAT%,"permi")
  1541. ifmatches(%CHAT%,"§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error.§r")
  1542. #noperm_command=1
  1543. #cut=1
  1544. endif
  1545. ifmatches(%CHAT%,"§cYou do not have permission to use that command§r")
  1546. #noperm_command=1
  1547. #cut=1
  1548. endif
  1549. ifmatches(%CHAT%,"§cYou are not permitted to do that. Are you in the right mode\?§r")
  1550. #noperm_command=1
  1551. #cut=1
  1552. endif
  1553. ifmatches(%CHAT%,"§4You don't have permission to damage in this area.§r")
  1554. if(#noperm_sound_action=1)
  1555. playsound(entity.villager.no)
  1556. endif
  1557. if(#noperm_clean_action=0)
  1558. log("%&tag_server%§r §7You don't have permission to damage in this area.§r")
  1559. endif
  1560. #cut=1
  1561. endif
  1562. ifmatches(%CHAT%,"§4You don't have permission to use that in this area.§r")
  1563. if(#noperm_sound_action=1)
  1564. playsound(entity.villager.no)
  1565. endif
  1566. if(#noperm_clean_action=0)
  1567. log("%&tag_server%§r §7You don't have permission to use that in this area.§r")
  1568. endif
  1569. #cut=1
  1570. endif
  1571. ifmatches(%CHAT%,"§4You don't have permission for this area.§r")
  1572. if(#noperm_sound_action=1)
  1573. playsound(entity.villager.no)
  1574. endif
  1575. if(#noperm_clean_action=0)
  1576. log("%&tag_server%§r §7You don't have permission for this area.§r")
  1577. endif
  1578. #cut=1
  1579. endif
  1580. ifmatches(%CHAT%,"§4You don't have permission to open that in this area.§r")
  1581. if(#noperm_sound_action=1)
  1582. playsound(entity.villager.no)
  1583. endif
  1584. if(#noperm_clean_action=0)
  1585. log("%&tag_server%§r §7You don't have permission to open that in this area.§r")
  1586. endif
  1587. #cut=1
  1588. endif
  1589. ifmatches(%CHAT%,"§4You don't have interact permission in this area.§r")
  1590. if(#noperm_sound_action=1)
  1591. playsound(entity.villager.no)
  1592. endif
  1593. if(#noperm_clean_action=0)
  1594. log("%&tag_server%§r §7This is not yours. Stop it.§r")
  1595. endif
  1596. #cut=1
  1597. endif
  1598. ifmatches(%CHAT%,"§4You don't have permission to place vehicles here.§r")
  1599. if(#noperm_sound_action=1)
  1600. playsound(entity.villager.no)
  1601. endif
  1602. if(#noperm_clean_action=0)
  1603. log("%&tag_server%§r §7Place vehicles on your own land.§r")
  1604. endif
  1605. #cut=1
  1606. endif
  1607. ifmatches(%CHAT%,"§4You don't have permission to destroy vehicles here.§r")
  1608. if(#noperm_sound_action=1)
  1609. playsound(entity.villager.no)
  1610. endif
  1611. if(#noperm_clean_action=0)
  1612. log("%&tag_server%§r §7Don't try to destroy others property. Be nice.§r")
  1613. endif
  1614. #cut=1
  1615. endif
  1616. ifmatches(%CHAT%,"§4You are not permitted to enter this area.§r")
  1617. if(#noperm_sound_action=1)
  1618. playsound(entity.villager.no)
  1619. endif
  1620. if(#noperm_clean_action=0)
  1621. log("%&tag_server%§r §7Sorry, this region is blocked.§r")
  1622. endif
  1623. #cut=1
  1624. endif
  1625. endif
  1626. ifmatches(%CHAT%,"Unknown command. Type \"/help\" for help.§r")
  1627. log("%&tag_server%§r §7Unknown command. Type §a/help§7 for help.§r")
  1628. #cut=1
  1629. endif
  1630. if(#noperm_command)
  1631. log("%&tag_server%§r §7Your command was blocked.§r")
  1632. if(#noperm_sound_chat)
  1633. playsound(entity.villager.no)
  1634. endif
  1635. #noperm_command=0
  1636. endif
  1637. endif
  1638. ifmatches(%CHAT%,"§6Bank: §r§aGerne. Hier ist Ihre Kontoinformation:§r")
  1639. #bank_read=1
  1640. if(#bank||#name_check)
  1641. #cut=1
  1642. endif
  1643. endif
  1644. if(#bank_read)
  1645. ifbeginswith(%CHAT%," §r§6(")
  1646. match(%CHAT%," §r§6\((.*)\)§r§a: §r§e(.*) Kadis§r§a von §r§e(.*)§r",{&name,&bank_money,&bank_owner})
  1647. if(#name_check)
  1648. #cut=1
  1649. else
  1650. if(#bank)
  1651. log("%&tag_arrow_r%§r §aPrivate§r §abank§r §aaccount:§r §e%&bank_money%§r §eKadis§r")
  1652. #cut=1
  1653. endif
  1654. endif
  1655. else
  1656. ifbeginswith(%CHAT%," §r§6")
  1657. match(%CHAT%," §r§6(.*)§r§a: §r§e(.*) Kadis§r§a von §r§e(.*)§r",{&bank_account,&bank_money,&bank_owner})
  1658. if(#name_check)
  1659. #cut=1
  1660. else
  1661. if(#bank)
  1662. if(&bank_owner=&name)
  1663. log("%&tag_arrow_r%§r §6%&bank_account%§r§a:§r §e%&bank_money%§r §eKadis§r")
  1664. else
  1665. log("%&tag_arrow_r%§r §6%&bank_account%§r §afrom§r §3%&bank_owner%§r§a:§r §e%&bank_money%§r §eKadis§r")
  1666. endif
  1667. #cut=1
  1668. endif
  1669. endif
  1670. else
  1671. ifbeginswith(%CHAT%," §r§amit Zugriff für: §r§e")
  1672. match(%CHAT%," §r§amit Zugriff für: §r§e(.*)§r",{&bank_adds})
  1673. if(#name_check)
  1674. #cut=1
  1675. else
  1676. if(#bank)
  1677. split(", ",%&bank_adds%,&bank_adds_array[])
  1678. join("§r§a,§r §3",&bank_adds_array[],&bank_adds)
  1679. arraysize(&bank_adds_array[],#bank_adds_amount)
  1680. if(#bank_adds_visible>1)
  1681. if(#bank_adds_amount>=#bank_adds_visible)
  1682. log("%&tag_minus%§r%&tag_arrow_r%§r §a(§r§e%#bank_adds_amount%§r §eplayers§r §aare§r §aadded)§r")
  1683. else
  1684. log("%&tag_minus%§r%&tag_arrow_r%§r §a(§r§3%&bank_adds%§r§a)§r")
  1685. endif
  1686. elseif(#bank_adds_visible=1)
  1687. log("%&tag_minus%§r%&tag_arrow_r%§r §a(§r§3%&bank_adds%§r§a)§r")
  1688. endif
  1689. #cut=1
  1690. endif
  1691. endif
  1692. else
  1693. ifbeginswith(%CHAT%," §r§aAktuelles Geld dabei: §r§e")
  1694. match(%CHAT%," §r§aAktuelles Geld dabei: §r§e(.*) Kadis§r",{&money_pocket})
  1695. if(#name_check)
  1696. #cut=1
  1697. else
  1698. if(#bank)
  1699. log("%&tag_bank%§r §aYou§r §agot§r §e%&money_pocket%§r §eKadis§r §ain§r §ayour§r §apocket§r§a.§r")
  1700. #cut=1
  1701. endif
  1702. endif
  1703. else
  1704. ifbeginswith(%CHAT%," §r§aSie haben ")
  1705. match(%CHAT%," §r§aSie haben (.*) Konten.\(max. (.*)\)§r",{&bank_accounts,&bank_accounts_max})
  1706. if(#name_check)
  1707. #cut=1
  1708. else
  1709. if(#bank)
  1710. log("%&tag_arrow_r%§r §e%&bank_accounts%§r §aout§r §aof§r §e%&bank_accounts_max%§r §abank§r §aaccounts§r §aare§r §abeing§r §aused.§r")
  1711. #cut=1
  1712. endif
  1713. endif
  1714. else
  1715. ifbeginswith(%CHAT%," §r§aGesamt verfügbares Vermögen: §r§e")
  1716. match(%CHAT%," §r§aGesamt verfügbares Vermögen: §r§e(.*) Kadis§r",{&bank_money_sum})
  1717. if(#name_check)
  1718. #cut=1
  1719. else
  1720. if(#bank)
  1721. log("%&tag_arrow_r%§r §aYou§r §ahave§r §aaccess§r §ato§r §aa§r §atotal§r §aof§r §e%&bank_money_sum%§r §eKadis§r§a.§r")
  1722. #cut=1
  1723. endif
  1724. endif
  1725. #bank_read=0
  1726. #name_check=0
  1727. endif
  1728. endif
  1729. endif
  1730. endif
  1731. endif
  1732. endif
  1733. endif
  1734. if(#bank)
  1735. ifmatches(%CHAT%,"§cBitte nicht so schnell klicken, warte einen kurzen Moment.§r")
  1736. if(#chat)
  1737. &bank_chat="§8[§e/l§8]§r"
  1738. else
  1739. &bank_chat="§e[l]§r"
  1740. endif
  1741. log("%&bank_chat% %&tag_bank_cashmashine%§r§e:§r §ePlease§r §ewait§r §ea§r §emoment.§r §eSecure§r §esystems§r §eneed§r §etime.§r")
  1742. #cut=1
  1743. endif
  1744. ifbeginswith(%CHAT%,"§cBeispiel: /kbank ")
  1745. #cut=1
  1746. endif
  1747. ifmatches(%CHAT%,"§6Bank: §r§cUm Konten zu bearbeiten zu /w bank gehen.§r")
  1748. log("%&tag_bank%§r §7Visit§r §a/w§r §abank§r §7to§r §7use§r §7this§r §7command.§r")
  1749. #cut=1
  1750. endif
  1751. endif
  1752. if(#mcmmo)
  1753. ifbeginswith(%CHATCLEAN%,"**")
  1754. ifbeginswith(%CHAT%,"§a**YOU READY YOUR ")
  1755. match(%CHAT%,"§a\*\*YOU READY YOUR (.*)\*\*§r",{&mcmmo_ability})
  1756. lcase(%&mcmmo_ability%,&mcmmo_ability)
  1757. logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7ready§r §7your§r §a%&mcmmo_ability%§r§7!§r")
  1758. #cut=1
  1759. endif
  1760. ifbeginswith(%CHAT%,"§7**YOU LOWER YOUR ")
  1761. match(%CHAT%,"§7\*\*YOU LOWER YOUR (.*)\*\*§r",{&mcmmo_ability})
  1762. lcase(%&mcmmo_ability%,&mcmmo_ability)
  1763. logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7lower§r §7your§r §c%&mcmmo_ability%§r§7!§r")
  1764. #cut=1
  1765. endif
  1766. ifendswith(%CHAT%," ACTIVATED**§r")
  1767. match(%CHAT%,"§a\*\*(.*) ACTIVATED\*\*§r",{&mcmmo_ability})
  1768. lcase(%&mcmmo_ability%,&mcmmo_ability)
  1769. logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7activated§r §7your§r §a%&mcmmo_ability%§r §7ability!§r")
  1770. #cut=1
  1771. endif
  1772. ifendswith(%CHAT%," has worn off**§r")
  1773. match(%CHAT%,"§c\*\*(.*) has worn off\*\*§r",{&mcmmo_ability})
  1774. lcase(%&mcmmo_ability%,&mcmmo_ability)
  1775. logto(TempInfo,"%&tag_mcmmo%§r §7Your§r §c%&mcmmo_ability%§r §7ability§r §7has§r §7worn§r §7off...§r")
  1776. #cut=1
  1777. endif
  1778. ifmatches(%CHAT%,"§c\*\*GREEN THUMB FAIL\*\*§r")
  1779. logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7failed.§r §7Your§r §7seeds§r §cdied§r§7.§r")
  1780. #cut=1
  1781. else
  1782. ifmatches(%CHAT%,"§a\*\*Graceful Landing\*\*§r")
  1783. logto(TempInfo,"%&tag_mcmmo%§r §7Rolled§r §7perfectly!§r")
  1784. #cut=1
  1785. else
  1786. ifmatches(%CHAT%,"\*\*Rolled\*\*§r")
  1787. logto(TempInfo,"%&tag_mcmmo%§r §7Rolled!§r")
  1788. #cut=1
  1789. else
  1790. ifmatches(%CHAT%,"§a\*\*ENEMY BLEEDING\*\*§r")
  1791. logto(TempInfo,"%&tag_mcmmo%§r §aTarget§r §ais§r §cbleeding§r§a!§r")
  1792. #cut=1
  1793. else
  1794. ifmatches(%CHAT%,"§a\*\*COUNTER-ATTACKED\*\*§r")
  1795. logto(TempInfo,"%&tag_mcmmo%§r §aCounter§r §cattacked§r§a!§r")
  1796. #cut=1
  1797. else
  1798. ifmatches(%CHAT%,"§a\*\*Dodged\*\*§r")
  1799. logto(TempInfo,"%&tag_mcmmo%§r §aDodged!§r")
  1800. #cut=1
  1801. else
  1802. ifmatches(%CHAT%,"§a\*\*STRUCK WITH GREAT FORCE\*\*§r")
  1803. logto(TempInfo,"%&tag_mcmmo%§r §aOH§r §aMY!§r §aWhat§r §aa§r §cpowerful§r §chit§r§a!§r")
  1804. #cut=1
  1805. else
  1806. ifmatches(%CHAT%,"§f\*\*ARROW DEFLECT\*\*§r")
  1807. logto(TempInfo,"%&tag_mcmmo%§r §aArrow§r §adeflect!§r")
  1808. #cut=1
  1809. endif
  1810. endif
  1811. endif
  1812. endif
  1813. endif
  1814. endif
  1815. endif
  1816. endif
  1817. endif
  1818. ifendswith(%CHAT%,"§r§aability is refreshed!§r")
  1819. match(%CHAT%,"§aYour §r§e(.*) §r§aability is refreshed!§r",{&mcmmo_ability})
  1820. lcase(%&mcmmo_ability%,&mcmmo_ability)
  1821. logto(TempInfo,"%&tag_mcmmo%§r §7Your§r §a%&mcmmo_ability%§r §7ability§r §7is§r §7ready§r §7again!§r")
  1822. #cut=1
  1823. endif
  1824. ifbeginswith(%CHAT%,"§c")
  1825. ifmatches(%CHAT%,"§cYOUR AXE SPLINTERS INTO DOZENS OF PIECES!§r")
  1826. logto(TempInfo,"%&tag_mcmmo%§r §cYour§r §caxe§r §csplinters§r §cinto§r §cdozens§r §cof§r §cpieces!§r")
  1827. #cut=1
  1828. endif
  1829. ifmatches(%CHAT%,"§cThat tree is too large!§r")
  1830. logto(TempInfo,"%&tag_mcmmo%§r §7That§r §7tree§r §7is§r §7too§r §7large!§r")
  1831. #cut=1
  1832. endif
  1833. ifmatches(%CHAT%,"§cCRITICAL HIT!§r")
  1834. logto(TempInfo,"%&tag_mcmmo%§r §aBOOM!§r §aCritical§r §ahit!§r")
  1835. #cut=1
  1836. endif
  1837. ifmatches(%CHAT%,"§cYou have too many wolves nearby to summon any more.§r")
  1838. logto(TempInfo,"%&tag_mcmmo%§r §7There§r §7are§r §7too§r §7many§r §awolves§r §7nearby...§r")
  1839. #cut=1
  1840. endif
  1841. ifmatches(%CHAT%,"§cYou have too many ocelots nearby to summon any more.§r")
  1842. logto(TempInfo,"%&tag_mcmmo%§r §7There§r §7are§r §7too§r §7many§r §aocelots§r §7nearby...§r")
  1843. #cut=1
  1844. endif
  1845. ifmatches(%CHAT%,"§cArcane power has permanently left the item.§r")
  1846. logto(TempInfo,"%&tag_mcmmo%§r §cThe§r §cenchantment§r §cleft§r §cyour§r §citem...§r")
  1847. #cut=1
  1848. endif
  1849. ifmatches(%CHAT%,"§cArcane power has decreased for this item.§r")
  1850. logto(TempInfo,"%&tag_mcmmo%§r §7The§r §7enchantment§r §7decreased§r §7in§r §7it's§r §7power...§r")
  1851. #cut=1
  1852. endif
  1853. ifbeginswith(%CHAT%,"§cYou are too tired to use that ability again.§r§e (")
  1854. match(%CHAT%,"§cYou are too tired to use that ability again.§r§e \((.*)s\)§r",{&mcmmo_cooldown})
  1855. logto(TempInfo,"%&tag_mcmmo%§r §7Relax§r §7for§r §e%&mcmmo_cooldown%§r §eseconds§r §7to§r §7use§r §7this§r §7ability§r §7again.§r")
  1856. #cut=1
  1857. endif
  1858. endif
  1859. ifmatches(%CHAT%,"§aSummoning complete§r")
  1860. logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7have§r §7summoned§r §7your§r §7pet!§r")
  1861. #cut=1
  1862. endif
  1863. ifmatches(%CHAT%,"§aYour iron grip kept you from being disarmed!§r")
  1864. logto(TempInfo,"%&tag_mcmmo%§r §7Your§r §airon§r §agrip§r §7saved§r §7your§r §7item§r §7from§r §7being§r §7dropped!§r")
  1865. #cut=1
  1866. endif
  1867. ifmatches(%CHAT%,"§4You have been disarmed!§r")
  1868. logto(TempInfo,"%&tag_mcmmo%§r §cYou§r §chave§r §cbeen§r §cdisarmed!§r")
  1869. #cut=1
  1870. endif
  1871.  
  1872.  
  1873. ifmatches(%CHAT%,"§7That felt easy.§r")
  1874. logto(TempInfo,"%&tag_mcmmo%§r §7Nice§r §7work.§r §7Looks§r §7good!§r")
  1875. #cut=1
  1876. endif
  1877. ifmatches(%CHAT%,"§7That is at full durability.§r")
  1878. logto(TempInfo,"%&tag_mcmmo%§r §7There§r §7is§r §7no§r §7need§r §7to§r §7repair§r §7this.§r")
  1879. #cut=1
  1880. endif
  1881. ifbeginswith(%CHAT%,"§4You need more §r")
  1882. match(%CHAT%,"§4You need more §r(.*)§r",{&mcmmo_repair_item})
  1883. logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7need§r §7more§r %&mcmmo_repair_item%§r§7!§r")
  1884. #cut=1
  1885. endif
  1886. ifmatches(%CHAT%,"§aYou have sustained the arcane energies in this item.§r")
  1887. logto(TempInfo,"%&tag_mcmmo%§r §aThe§r §aenchantment§r §akept§r §aintact!§r")
  1888. #cut=1
  1889. endif
  1890. ifmatches(%CHAT%,"§4You have placed an anvil, anvils can repair tools and armor.§r")
  1891. #cut=1
  1892. endif
  1893. ifmatches(%CHAT%,"§7Treasure found!§r")
  1894. #cut=1
  1895. else
  1896. ifmatches(%CHAT%,"§7You feel a touch of magic on this treasure...§r")
  1897. #cut=1
  1898. endif
  1899. endif
  1900. endif
  1901. if(#spleef)
  1902. ifmatches(%CHAT%,"§eDer Spieleinsatz von 10 Kadis wird bei Beginn eingezogen.§r")
  1903. #cut=1
  1904. logto(TempInfo,"%&tag_spleef%§r §7You§r §7will§r §7pay§r §e10§r §eKadis§r §7at§r §7game§r §7start.§r")
  1905. break
  1906. endif
  1907. ifmatches(%CHAT%,"§4Achtung§r§e: Dein Inventar wird bei Spielbeginn geleert, lege also alles ab, was dir lieb ist \(oder nutze /inv save\).§r")
  1908. #cut=1
  1909. log("%&tag_spleef%§r §cWarning:§r §7Your§r §7inventory§r §7will§r §7be§r §7cleared§r §7at§r §7game§r §7start!§r")
  1910. break
  1911. endif
  1912. ifmatches(%CHAT%,"§b \*\* allow§r")
  1913. #cut=1
  1914. break
  1915. endif
  1916. ifmatches(%CHAT%,"§eDu hast den Einsatz von 10 Kadis bezahlt.§r")
  1917. #cut=1
  1918. log("%&tag_spleef%§r §7You§r §7paid§r §7your§r §7participation§r §7fee.§r §4[§r§c-§r§e10.00§r §eKadis§r§4]§r")
  1919. break
  1920. endif
  1921. ifmatches(%CHAT%,"§6AntiCamping: Vorsicht noch 5 Sekunden, um dich wegzubewegen§r")
  1922. #cut=1
  1923. log("%&tag_spleef%§r §cMove!§r §4AntiCamping§r §cwill§r §cstrike§r §cin§r §e5§r §eseconds§r§c!§r")
  1924. break
  1925. endif
  1926. ifmatches(%CHAT%,"§cAntiCamping hat zugeschlagen, ab nach unten :-\)§r")
  1927. #cut=1
  1928. log("%&tag_spleef%§r §c§lBOOM!§r §4AntiCamping§r §cstruck!§r")
  1929. break
  1930. endif
  1931. ifmatches(%CHAT%,"§cEs sind noch nicht genug Spieler da \(mind. 2\)§r")
  1932. #cut=1
  1933. log("%&tag_spleef%§r §7A§r §7game§r §7can§r §7only§r §7start§r §7with§r §7at§r §7least§r §e2§r §3Players§r§7.§r")
  1934. break
  1935. endif
  1936. endif
  1937. if(#spawnie)
  1938. ifbeginswith(%CHAT%,"§6Tipp: Du kannst dein Spawnie umziehen mit §r§f/spawnie umziehen")
  1939. #cut=1
  1940. else
  1941. ifbeginswith(%CHAT%,"§6Tipp: Du kannst dein Spawnie zurücksetzen mit §r§f/spawnie reset")
  1942. #cut=1
  1943. endif
  1944. endif
  1945. endif
  1946. if(#view=0)
  1947. ifbeginswith(%CHAT%,"§eChanged View Distance to ")
  1948. #cut=1
  1949. break
  1950. endif
  1951. ifbeginswith(%CHAT%,"§eFakeViewing changed to ")
  1952. #cut=1
  1953. break
  1954. endif
  1955. ifbeginswith(%CHAT%,"§eChanged FakeView Distance to ")
  1956. #cut=1
  1957. break
  1958. endif
  1959. endif
  1960. endif
  1961. endif
  1962. endif
  1963. endif
  1964. endif
  1965. endif
  1966. endif
  1967. endif
  1968. endif
  1969. if(#activechat=0)
  1970. setlabel(ActiveChat,"")
  1971. endif
  1972. while(0)
  1973. if(#chat_change)
  1974. #cut=1
  1975. #chat_change=0
  1976. &chat_channel="§8[§r%&chat_color%%&chat_symbol%§r§8]§r "
  1977. &chat_rank="§r§7"
  1978. ifbeginswith(%&chat_name%,"§bVip§r§8| §r§f")
  1979. match(%&chat_name%,"§bVip§r§8\| §r§f(.*)",{&chat_name})
  1980. &chat_rank="§r§f"
  1981. else
  1982. ifbeginswith(%&chat_name%,"§7[§r§9Mod§r§7]§r§f")
  1983. match(%&chat_name%,"§7\[§r§9Mod§r§7\]§r§f(.*)",{&chat_name})
  1984. &chat_rank="§7[§r§9M§r§7]§r §f"
  1985. else
  1986. ifbeginswith(%&chat_name%,"§7[§r§9SMod§r§7]§r§f")
  1987. match(%&chat_name%,"§7\[§r§9SMod§r§7\]§r§f(.*)",{&chat_name})
  1988. &chat_rank="§7[§r§9SM§r§7]§r §f"
  1989. else
  1990. ifbeginswith(%&chat_name%,"§8[§r§cSMod+§r§8]§r§f")
  1991. match(%&chat_name%,"§8\[§r§cSMod\+§r§8\]§r§f(.*)",{&chat_name})
  1992. &chat_rank="§7[§r§aSM+§r§7]§r §f"
  1993. else
  1994. ifbeginswith(%&chat_name%,"§0[§r§4A§r§0]§r§6")
  1995. match(%&chat_name%,"§0\[§r§4A§r§0\]§r(.*)",{&chat_name})
  1996. strip(&chat_name,%&chat_name%)
  1997. &chat_rank="§0[§r§4A§r§0]§r §f"
  1998. endif
  1999. endif
  2000. endif
  2001. endif
  2002. endif
  2003. split(" ",%&chat_message%,&chat_message_array[])
  2004. join("§r %&chat_color%",&chat_message_array[],&chat_message)
  2005. if(#spamfilter)
  2006. ifcontains(%&chat_message%,"anisalilesi")
  2007. ifcontains(%&chat_message%,"heil")
  2008. #spam=%#spamfilter%
  2009. endif
  2010. ifcontains(%&chat_message%,"back")
  2011. #spam=%#spamfilter%
  2012. endif
  2013. endif
  2014. endif
  2015. if(#spam=1)
  2016. logto(TempInfo,"%&chat_channel%%&chat_rank%%&chat_name%%&chat_color%:§r %&chat_color%%&chat_message%§r")
  2017. elseif(#spam=0)
  2018. log("%&chat_channel%%&chat_rank%%&chat_name%%&chat_color%:§r %&chat_color%%&chat_message%§r")
  2019. endif
  2020. #spam=0
  2021. endif
  2022. if(#debug=0)
  2023. if(#cut)
  2024. #cut=0
  2025. filter
  2026. endif
  2027. endif
  2028. else
  2029. setlabel(ActiveChat,"")
  2030. endif
  2031. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement