Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //= ActiveChat Beta 1.15 =============================================================
- // Found an error? Please make a screenshot and copy the relevant LOGs
- // and send them via private message at forum.kadcon.de to "22855".
- // You can find your LOGs at this path:
- // .minecraft/liteconfig/common/macros/logs/ActiveChatDebug.txt
- // HowTo Install:
- //
- // 1) Go to your keyboard screen.
- // 2) Click on the white icon at the top left corner.
- // 3) Click on "GUI Editor".
- // 4) Click on "ingame" on the left side.
- // 5) Click on the white icon at the bottom left corner.
- // 6) Click on "Adjust grid".
- // -> "rows" = "3"
- // -> "colums" = "2"
- // 7) Click on the white icon at the bottom left corner.
- // 8) Click on "Add Textarea"
- // 9) Set your new Textarea on the left side of the second row.
- // 10) Rightclick your Textarea to edit its settings:
- // -> "Control Name" = "TempInfo"
- // -> "Message life" = "100"
- // 11) Click on "OK" to save your changes.
- // 12) Press [Esc]
- // 13) Click on "inchat" on the left side.
- // 14) Click on the white icon at the bottom left corner.
- // 15) Click on "Add Label"
- // 16) Set your new Label in the bottom left corner.
- // 17) Rightclick your Label to edit its settings:
- // -> "Control Name" = "ActiveChat"
- // -> "Background colour" = "0"
- // -> "Text Align" = "Bottom Left"
- // 18) Click on "OK" to save your changes.
- // 19) Press [Esc]
- // 20) Press [Esc]
- // 21) Click on the white icon at the top left corner.
- // 22) Click on "Edit Chat Filter".
- // 23) Paste the whole code you are reading right now in there.
- // 24) Click on "OK" to save the code.
- // 25) Press [Esc] to leave the Macro Mod screen.
- // 26) Disconnect from the server if you are connected to one.
- // 27) Connect to kadcon.de and enjoy ActiveChat!
- // 28) You can also change or disable features if you scroll down to OPTIONS!
- // Ignore this line of code:
- if(#spam=0)
- //= OPTIONS ==========================================================================
- #on=1
- // Master switch for all functions
- // 0 - off
- // 1 - on
- #news=0
- // Shows Kadcon news for the invite system
- // 0 - off
- // 1 - on
- #activechat=1
- // Shows you your active chat via label
- // 0 - off
- // 1 - on
- #money=1
- // Makes /money messages short and fancy
- // 0 - off
- // 1 - on
- #bank=1
- // Changes /kbank infos and replaces the guy at the bank
- // 0 - off
- // 1 - on
- #bank_adds_visible=1
- // Shows names of added players
- // 0 - off (does not show added players)
- // 1 - on
- // 2+ - on (names will only be shown if there are less added players than the value of #bank_adds_visible)
- #shop=1
- // Makes shop messages so damn fancy. Holy shit!
- // 0 - off
- // 1 - on
- #shop_customer=1
- // Shows a message when someone buys from a shop of yours
- // 0 - off
- // 1 - on
- #shop_empty=1
- // Shows a message when someone trys to buy from an empty shop of yours
- // 0 - off
- // 1 - on
- #tpa=2
- // Makes tpa requests much shorter and fancy
- // 0 - off
- // 1 - on
- // 2 - on (Using just "/tpa" and "/tpahere" will automatically
- // send the request to your chatpartner)
- #guildinfo=1
- // Filters unnecessary lines and changes join/leave messages
- // 0 - off
- // 1 - on
- #ping=1
- // Changes ping messages. For style reasons.
- // 0 - off
- // 1 - on
- #mail=1
- // Makes mail messages fancy
- // 0 - off
- // 1 - on
- #mail_only_new=1
- // Only shows messages when you have new mail
- // 0 - off
- // 1 - on
- #votes=1
- // Makes vote messages short and fancy
- // (vote.kadcon.de links will be useless - Type /votes to get a working link)
- // 0 - off
- // 1 - on
- #votes_short=1
- // Replaces the voters names with the amount of voters
- // 0 - off
- // 1 - on
- #votes_reward=1
- // Shows your periodic vote rewards
- // 0 - off
- // 1 - on
- #votes_voted=1
- // Shows messages that you voted on the vote page
- // 0 - off
- // 1 - on
- #votes_others=1
- // Shows all the other vote messages
- // 0 - off
- // 1 - on
- #server=1
- // Makes messages from a server switch short and fancy
- // 0 - off
- // 1 - on
- #noperm=1
- // Changes "You don't have permission ..." messages
- // 0 - off
- // 1 - on
- #noperm_clean_action=1
- // Filters those messages caused by action (e.g. hitting things)
- // 0 - off
- // 1 - on
- #noperm_sound_action=1
- // Makes a villager sound when you get messages caused by action
- // 0 - off
- // 1 - on
- #noperm_sound_chat=0
- // Makes a villager sound when you get messages caused by chat commands
- // 0 - off
- // 1 - on
- #mcmmo=1
- // Filters and changes mcMMO messages and protects normal chat from it
- // 0 - off
- // 1 - on
- #lag=1
- // Changes the message of /lag
- // 0 - off
- // 1 - on
- #spawnie=1
- // Filters /spawnie help messages
- // 0 - off
- // 1 - on
- #crates=1
- // Filters crate opening messages
- // Changes crate win messages
- // 0 - off
- // 1 - on
- #crates_normal=2
- // Shows crate messages of normal prizes
- // 0 - off
- // 1 - on (shows messages in chat)
- // 2 - on (shows messages in TempInfo)
- #chat=1
- // Changes chat messages (exept for ones including links)
- // 0 - off
- // 1 - on
- #version=1
- // Shows the version of ActiveChat if you join on kadcon.de
- // 0 - off
- // 1 - on
- #version_settings=0
- // Displays your Settings after the ActiveChat-version-message
- // 0 - off
- // 1 - on
- #spleef=1
- // Activate fancy Spleef messages
- // 0 - off
- // 1 - on
- #view=0
- // Shows Fake-View messages
- // 0 - off
- // 1 - on
- #debug=0
- // Don't know what's going on?
- // 0 - Normal operation mode
- // 1 - Show ALL chat messages (original and changed ones)
- //====================================================================================
- logto(ActiveChatDebug.txt,%CHAT%)
- // TAGS
- &tag_version="§r§5ActiveChat§r §eBeta§r §e1.15§r"
- &tag_activechat="§r§8§l>>>§r"
- &tag_afk="§r§8[§7§lAFK§r§8]§r"
- &tag_money="§r§8[§r§aMoney§r§8]§r"
- &tag_itime="§r§8[§r§aiTime§r§8]§r"
- &tag_bank="§r§8[§r§aBank§r§8]§r"
- &tag_bank_assistent="§r§7[§aBank§7]§r §fMonet§r"
- &tag_bank_cashmashine="§r§8[§r§6KCash§r§8]§r"
- &tag_shop="§r§8[§r§aShop§r§8]§r"
- &tag_votes="§r§8[§r§aVotes§r§8]§r"
- &tag_server="§r§8[§r§cServer§r§8]§r"
- &tag_spleef="§r§8[§r§aSpleef§r§8]§r"
- &tag_tpa="§r§8[§r§aTpa§r§8]§r"
- &tag_ping="§r§8[§r§aPing§r§8]§r"
- &tag_mail="§r§8[§r§aMail§r§8]§r"
- &tag_crates="§r§8[§r§aCrates§r§8]§r"
- &tag_mcmmo="§r§8[§r§amcMMO§r§8]§r"
- &tag_arrow_r="§r§8»§r"
- &tag_arrow_l="§r§8«§r"
- &tag_minus="§r§8-§r"
- &tag_pipe="§r§8|§r"
- &tag_pipeend="§r§8L§r"
- if(#on)
- do
- ifcontains(%CHAT%,".com")
- else
- ifcontains(%CHAT%,".net")
- else
- ifcontains(%CHAT%,".gl")
- else
- ifcontains(%CHAT%,".io")
- else
- ifcontains(%CHAT%,".li")
- else
- ifcontains(%CHAT%,".ly")
- else
- // News
- ifmatches(%CHAT%,"§2§lNeu! §r§fDu kannst neue Spieler auf Kadcon holen und dein Bonus-Einkommen aufbessern. Infos unter §r§2invites.kadcon.de§r")
- if(#news=0)
- #cut=1
- break
- endif
- endif
- ifmatches(%CHAT%,"§f Du bekommst aktuell doppelt so viel Kadis für deine Invites!§r")
- if(#news=0)
- #cut=1
- break
- endif
- endif
- ifcontains(%CHAT%,".de")
- if(#mcmmo)
- ifmatches(%CHAT%,"mcMMO-Drop! \(Angel-Regeln beachten. Siehe §rregeln.kadcon.de§r 1.9\)§r")
- #cut=1
- break
- endif
- endif
- if(#server)
- ifmatches(%CHAT%,"§6\*\*\* Willkommen auf §r§6Kadcon.de§r§6! Ihr gestaltet die Stadt! \*\*\*§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§bForum: §r§7forum.kadcon.de§r§7 - §r§bVotes: §r§7vote.kadcon.de§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§c2x §r§cvote.kadcon.de§r§c und 825 Kadis erhalten!§r")
- #cut=1
- endif
- endif
- ifendswith(%CHAT%," für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r")
- if(#votes)
- ifbeginswith(%CHATCLEAN%,"[")
- else
- ifendswith(%CHAT%,"§r§a wurde für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r")
- #cut=1
- if(#votes_short=0)
- match(%CHAT%,"§6(.*)§r§a wurde für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r",{&votes_voters})
- &message="%&tag_votes%§r §3%&votes_voters%§r §7was§r §7rewarded§r §7for§r §7voting.§r"
- #output_chat=1
- break
- elseif(#votes_short=1)
- &message="%&tag_votes%§r §7The§r §7server§r §7received§r §e1§r §eVote§r§7.§r"
- #output_chat=1
- break
- endif
- endif
- ifendswith(%CHAT%,"§r§a wurden für den Vote auf§r§e§l vote.kadcon.de§r§a belohnt!§r")
- #cut=1
- ifbeginswith(%CHAT%,"§aDie Spieler §r§6")
- 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})
- replace(&votes_voters,"Ein Kadconer","§3Ein§r §3Kadconer§r")
- split("§r§6, ",%&votes_voters%,&votes_voters_array[])
- if(#votes_short=0)
- //arraysize(&votes_voters_array[],#votes_amount)
- //&votes_voters_last="%&votes_voters_array[%#votes_amount%]%"
- join("§r§7,§r §3",&votes_voters_array[],&votes_voters)
- //log("%&tag_votes%§r §3%&votes_voters%§r §dand§r §3%&votes_voters_last%§r §dwere§r §drewarded§r §dfor§r §dvoting.§r")
- &message="%&tag_votes%§r §3%&votes_voters%§r §7were§r §7rewarded§r §7for§r §7voting.§r"
- #output_chat=1
- break
- elseif(#votes_short=1)
- arraysize(&votes_voters_array[],#votes_amount)
- &message="%&tag_votes%§r §7The§r §7server§r §7received§r §e%#votes_amount%§r §eVotes§r§7.§r"
- #output_chat=1
- break
- endif
- endif
- endif
- endif
- endif
- endif
- else
- ifbeginswith(%CHATCLEAN%,"[")
- ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f]")
- // Version
- ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§bYou joined '§r§bkadcon")
- if(#version)
- if(#switch=0)
- echo("/kbank")
- #name_check=1
- #guild=0
- if(#activechat)
- &activechat_color="§a"
- else
- &activechat_color="§c"
- endif
- if(#money)
- &money_color="§a"
- else
- &money_color="§c"
- endif
- if(#bank)
- &bank_color="§a"
- else
- &bank_color="§c"
- endif
- if(#shop)
- &shop_color="§a"
- else
- &shop_color="§c"
- endif
- if(#tpa)
- &tpa_color="§a"
- else
- &tpa_color="§c"
- endif
- if(#guildinfo)
- &guildinfo_color="§a"
- else
- &guildinfo_color="§c"
- endif
- if(#ping)
- &ping_color="§a"
- else
- &ping_color="§c"
- endif
- if(#mail)
- &mail_color="§a"
- else
- &mail_color="§c"
- endif
- if(#votes)
- &votes_color="§a"
- else
- &votes_color="§c"
- endif
- if(#server)
- &server_color="§a"
- else
- &server_color="§c"
- endif
- if(#noperm)
- &noperm_color="§a"
- else
- &noperm_color="§c"
- endif
- if(#mcmmo)
- &mcmmo_color="§a"
- else
- &mcmmo_color="§c"
- endif
- if(#lag)
- &lag_color="§a"
- else
- &lag_color="§c"
- endif
- if(#spawnie)
- &spawnie_color="§a"
- else
- &spawnie_color="§c"
- endif
- if(#crates)
- &crates_color="§a"
- else
- &crates_color="§c"
- endif
- if(#chat)
- &chat_color="§a"
- else
- &chat_color="§c"
- endif
- if(#version)
- &version_color="§a"
- else
- &version_color="§c"
- endif
- if(#spleef)
- &spleef_color="§a"
- else
- &spleef_color="§c"
- endif
- log("§dYou are using %&tag_version%§r§d!§r")
- log("§dPlease §dreport§r §7bugs§r §dand§r §aideas§r §dto§r §322855§r§d!§r")
- if(#version_settings)
- log("§5Current§r §5settings§r§d:§r")
- log("%&tag_arrow_r%§r %&activechat_color%ActiveChat§r %&money_color%Money§r %&bank_color%Bank§r %&shop_color%Shop§r %&tpa_color%Tpa§r %&guildinfo_color%GuildInfo§r %&ping_color%Ping§r %&mail_color%Mail§r %&votes_color%Votes§r")
- log("%&tag_arrow_r%§r %&server_color%Server§r %&noperm_color%NoPerm§r %&mcmmo_color%mcMMO§r %&lag_color%Lag§r %&spawnie_color%Spawnie§r %&crates_color%Crates§r %&chat_color%Chat§r %&version_color%Version§r %&spleef_color%Spleef§r")
- endif
- endif
- endif
- if(#server)
- #cut=1
- match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§bYou joined '§r§bkadcon(.*).server'§r",{&server_server})
- &message="§e§lWelcome§r §e§lto§r §4§lK§r§a§ladcon.de§r §e§lServer§r §6§l%&server_server%§r§e§l!§r"
- #output_chat=1
- endif
- if(#activechat)
- &activechat_colored="§eLocal"
- &activechat_active="Local"
- #afk=0
- #updatelabel=1
- endif
- #mail_mails_old=0
- #switch=0
- break
- endif
- // Crates
- if(#crates)
- ifendswith(%CHAT%,"Piece§r")
- if(#crates_special=2)
- #cut=1
- match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§b (.*)§r",{&crates_win})
- &message="%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §b%&crates_win%§r§7!§r"
- #output_chat=1
- break
- endif
- else
- ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§b §r")
- #cut=1
- break
- endif
- endif
- ifmatches(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§c§k\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|§r")
- #cut=1
- #crates_special=1
- break
- endif
- ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§bOpening ")
- #cut=1
- #crates_special=0
- break
- endif
- ifmatches(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§6You need to wait a second before opening another crate. 1§r")
- #cut=1
- break
- endif
- ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§6WIN: '")
- #cut=1
- match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§6WIN: '(.*)'§r",{&crates_win})
- if(%&crates_win%="null")
- &crates_win="§5§lDRAGON_HEAD§r"
- endif
- &message="%&tag_crates%§r §7You§r §7won§r §c%&crates_win%§r§7!§r"
- #output_chat=1
- break
- else
- ifbeginswith(%CHAT%,"§f[§r§2Chunk§r§4li§r§f] §r§6WIN: ")
- #cut=1
- match(%CHAT%,"§f\[§r§2Chunk§r§4li§r§f\] §r§6WIN: (.*) (.*)§r",{&crates_win,&crates_amount})
- if(#crates_special=1)
- ifcontains(%&crates_win%,"BUTTON")
- #crates_special=2
- break
- else
- #crates_special=0
- &message="%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §b%&crates_win%§r§7!§r"
- #output_chat=1
- break
- endif
- elseif(#crates_normal=1)
- &message="%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §a%&crates_win%§r§7!§r"
- #output_chat=1
- break
- elseif(#crates_normal=2)
- &message="%&tag_crates%§r §7You§r §7won§r §e%&crates_amount%§r §a%&crates_win%§r§7!§r"
- #output_tempinfo=1
- break
- endif
- endif
- endif
- endif
- else
- #crates_special=0
- // Chat
- ifbeginswith(%CHAT%,"§e[l] ")
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r")
- if(#bank)
- if(#chat)
- &bank_chat="&8[§e/l§8]§r"
- else
- &bank_chat="&e[l]§r"
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ab sofort kann §r")
- #cut=1
- ifcontains(%CHAT%,"§r§a nicht mehr auf das Konto §r§6")
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ab sofort kann §r§a nicht mehr auf das Konto §r§6")
- &message="%&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"
- #output_chat=1
- break
- else
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- else
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cBitte beachten Sie: Die Bank haftet nicht dafür, wenn §r§e")
- #cut=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§6Entschuldigung, ich habe Sie leider nicht verstanden.§r")
- #cut=1
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eSorry.§r §eI§r §edid§r §enot§r §eunderstand§r §ewhat§r §eyou§r §esaid.§r"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie das Konto mit dem Namen §r§6")
- #cut=1
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ich habe für Sie §r§e")
- #cut=1
- ifcontains(%CHAT%,"§r§a Kadis auf das Konto §r§6")
- 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})
- ifcontains(%&bank_account%,"(")
- &message="%&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"
- #output_chat=1
- break
- else
- &message="%&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"
- #output_chat=1
- break
- endif
- else
- 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})
- ifcontains(%&bank_from%,"(")
- &message="%&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"
- #output_chat=1
- break
- else
- &message="%&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"
- #output_chat=1
- break
- endif
- endif
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Hier sind Ihre §r§e")
- #cut=1
- 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})
- ifcontains(%&bank_account%,"(")
- &message="%&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"
- #output_chat=1
- break
- else
- &message="%&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"
- #output_chat=1
- break
- endif
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ich habe Ihr Konto §r§6")
- #cut=1
- match(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Ich habe Ihr Konto §r§6(.*)§r§a geschlossen.§r",{&bank_account})
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eYour§r §ebank§r §eaccount§r §6%&bank_account%§r §ewas§r §edeleted.§r"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cLeider gibt es schon ein Konto mit dem Namen §r§6")
- #cut=1
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cEs tut mir leid, Sie haben keinen Zugriff auf das Konto §r§6")
- #cut=1
- 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})
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §edon't§r §ehave§r §eaccess§r §eto§r §6%&bank_account%§r§e.§r"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cEs tut mir leid, auf dem Konto §r§6")
- #cut=1
- 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})
- ifcontains(%&bank_account%,"(")
- &message="%&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"
- #output_chat=1
- break
- else
- &message="%&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"
- #output_chat=1
- break
- endif
- endif
- ifmatches(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cEs tut mir leid, Sie haben nicht genug Geld.§r")
- #cut=1
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §edon't§r §ehave§r §eenought§r §eKadis§r §efor§r §ethis§r §etransaction.§r"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cSie haben bereits die Maximalanzahl an Konten eröffnet.§r")
- #cut=1
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §ecannot§r §eopen§r §eanother§r §ebank§r §eaccount.§r"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§aGerne. Ab sofort können Sie nicht mehr auf das Konto §r§6")
- #cut=1
- 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})
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §ehave§r §ebeen§r §eremoved§r §efrom§r §6%&bank_account%§r§e.§r"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fBankberater§r§e: §r§cAuf Ihrem Konto sind noch §r§e")
- #cut=1
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§cDer Mindestbetrag liegt bei 1 Kadi.§r")
- #cut=1
- &message="%&bank_chat% %&tag_bank_assistent%§e:§r §eYou§r §ehave§r §eto§r §etransfer§r §eat§r §eleast§r §e1§r §eKadi.§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§e\[l\] §r§fBankberater§r§e: §r§aGerne. Hier ist Ihre Kontoinformation:§r")
- #cut=1
- break
- endif
- endif
- else
- ifbeginswith(%CHAT%,"§e[l] §r§fAutomat§r§e: §r")
- if(#bank)
- if(#chat)
- &bank_chat="&8[§e/l§8]§r"
- else
- &bank_chat="&e[l]§r"
- endif
- ifmatches(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§cEs tut mir leid, Sie haben nicht genug Geld.§r")
- #cut=1
- &message="%&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"
- #output_chat=1
- break
- endif
- 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")
- #cut=1
- &message="%&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"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fAutomat§r§e: §r§aGerne. Ich habe für Sie §r§e")
- #cut=1
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- ifbeginswith(%CHAT%,"§e[l] §r§fAutomat§r§e: §r§aGerne. Hier sind Ihre §r§e")
- #cut=1
- 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})
- &message="%&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"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§e\[l\] §r§fAutomat§r§e: §r§aGerne. Hier ist Ihre Kontoinformation:§r")
- #cut=1
- break
- endif
- endif
- else
- if(#chat)
- match(%CHAT%,"§e\[l\] §r(.*)§r§e: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§e"
- &chat_symbol="/l"
- #chat_change=1
- break
- endif
- endif
- endif
- else
- ifbeginswith(%CHAT%,"§2[G] ")
- if(#chat)
- match(%CHAT%,"§2\[G\] §r(.*)§r§2: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§2"
- &chat_symbol="/g"
- #chat_change=1
- break
- endif
- else
- ifbeginswith(%CHAT%,"§9[T] ")
- if(#chat)
- match(%CHAT%,"§9\[T\] §r(.*)§r§9: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§9"
- &chat_symbol="/t"
- #chat_change=1
- break
- endif
- else
- ifbeginswith(%CHAT%,"§b[h] ")
- if(#chat)
- match(%CHAT%,"§b\[h\] §r(.*)§r§b: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§b"
- &chat_symbol="/h"
- #chat_change=1
- break
- endif
- else
- ifbeginswith(%CHAT%,"§6[S] ")
- if(#chat)
- match(%CHAT%,"§6\[S\] §r(.*)§r§6: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§6"
- &chat_symbol="/s"
- #chat_change=1
- break
- endif
- else
- // Guild Chat
- ifbeginswith(%CHAT%,"§2[Guild] > ")
- if(#chat)
- #cut=1
- match(%CHAT%,"§2\[Guild\] > §r§a(.*)§r§7\[§r§6(.*)§r§7\] §r(.*)§r",{&chat_name,&chat_server,&chat_message})
- &message="§8[§3/gc§r §6%&chat_server%§8]§r §a%&chat_name%§r§3:§r §f%&chat_message%§r"
- #output_chat=1
- break
- endif
- else
- // Shop 1/2
- ifbeginswith(%CHAT%,"§a[Shop] ")
- if(#shop)
- ifcontains(%CHAT%,") von ")
- ifbeginswith(%CHAT%,"§a[Shop] §r§fDu hast §r§a")
- 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})
- else
- 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})
- endif
- &shop_action="You buy"
- endif
- ifcontains(%CHAT%,") an ")
- ifbeginswith(%CHAT%,"§a[Shop] §r§fDu hast §r§a")
- 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})
- else
- 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})
- endif
- &shop_action="You sell"
- endif
- ifcontains(%CHAT%," hat von dir §r§a")
- ifendswith(%CHAT%," Kadis Steuern) gekauft.§r")
- 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})
- else
- 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})
- endif
- &shop_action="They buy"
- else
- ifcontains(%CHAT%," hat von dir ")
- ifendswith(%CHAT%," Kadis Steuern) gekauft.§r")
- 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})
- else
- 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})
- endif
- &shop_action="They buy"
- endif
- endif
- ifcontains(%CHAT%," hat dir §r§a")
- 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})
- &shop_action="They sell"
- else
- ifcontains(%CHAT%," hat dir ")
- 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})
- &shop_action="They sell"
- endif
- endif
- if(&shop_item="Music Disc")
- if(&shop_id="2256:0")
- &shop_item="%&shop_item%§r §d13§r"
- elseif(&shop_id="2257:0")
- &shop_item="%&shop_item%§r §dCat§r"
- elseif(&shop_id="2258:0")
- &shop_item="%&shop_item%§r §dBlocks§r"
- elseif(&shop_id="2259:0")
- &shop_item="%&shop_item%§r §dChirp§r"
- elseif(&shop_id="2260:0")
- &shop_item="%&shop_item%§r §dFar§r"
- elseif(&shop_id="2261:0")
- &shop_item="%&shop_item%§r §dMall§r"
- elseif(&shop_id="2262:0")
- &shop_item="%&shop_item%§r §dMellohi§r"
- elseif(&shop_id="2263:0")
- &shop_item="%&shop_item%§r §dStal§r"
- elseif(&shop_id="2264:0")
- &shop_item="%&shop_item%§r §dStrad§r"
- elseif(&shop_id="2265:0")
- &shop_item="%&shop_item%§r §dWard§r"
- elseif(&shop_id="2266:0")
- &shop_item="%&shop_item%§r §d11§r"
- elseif(&shop_id="2267:0")
- &shop_item="%&shop_item%§r §dWait§r"
- endif
- endif
- if(&shop_action!="")
- if(&shop_action="You buy")
- 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")
- 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")
- if(&shop_compensation!="")
- 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")
- 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")
- &shop_compensation=""
- endif
- elseif(&shop_action="You sell")
- 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")
- 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")
- if(&shop_compensation!="")
- 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")
- 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")
- &shop_compensation=""
- endif
- elseif(&shop_action="They buy")
- if(#shop_customer)
- 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")
- endif
- elseif(&shop_action="They sell")
- if(#shop_customer)
- 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")
- endif
- endif
- &shop_action=""
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast nicht genug Items, um hier zu verkaufen!§r")
- log("%&tag_shop%§r §7You don't have this item.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDie Shopkiste hat nicht genug Platz!§r")
- log("%&tag_shop%§r §7This shop does not have the required free space.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDer Shopbesitzer hat nicht genug Geld!§r")
- log("%&tag_shop%§r §7The shop owner is out of money.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast nicht genug Geld!§r")
- log("%&tag_shop%§r §7You can't afford that.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDieser Shop kann nicht benutzt werden! \(fehlt eine Kiste\?\)§r")
- log("%&tag_shop%§r §7This shop can't be used. The chest is missing.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fHier kannst du nichts kaufen!§r")
- log("%&tag_shop%§r §7You can't buy items here.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fHier kannst du nichts verkaufen!§r")
- log("%&tag_shop%§r §7You can't sell items here.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDafür hast du keine Berechtigung!§r")
- log("%&tag_shop%§r §7You don't have access to this shop chest.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDein Inventar hat nicht genug Platz§r")
- log("%&tag_shop%§r §7Your inventory does not have enough space.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fShop erfolgreich erstellt! - 50.00 Kadis§r")
- log("%&tag_shop%§r §7Shop§r §7created!§r §4[§r§c-§r§e50§r §eKadis§r§4]§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDu hast 40.00 Kadis zurückbekommen.§r")
- log("%&tag_shop%§r §7Shop§r §7closed.§r §2[§r§a+§r§e40§r §eKadis§r§2]§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§a\[Shop\] §r§fDieser Shop ist gerade ausverkauft.§r")
- log("%&tag_shop%§r §7This shop is out of stock.§r")
- #cut=1
- else
- ifcontains(%CHAT%," Shop ist ausverkauft!§r§7 [")
- match(%CHAT%,"§a\[Shop\] §r§fDein (.*) Shop ist ausverkauft!§r§7 \[(.*)\]§r",{&shop_item,&shop_position})
- if(#shop_empty=1)
- 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")
- endif
- #cut=1
- endif
- endif
- endif
- else
- // Money
- ifbeginswith(%CHAT%,"§2[§r§fMoney§r§2] ")
- if(#money)
- ifbeginswith(%CHAT%,"§2[§r§fMoney§r§2] §r§2Balance: §r§f")
- match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§2Balance: §r§f(.*) Kadis§r",{&money_pocket})
- log("%&tag_money%§r §7You§r §7got§r §e%&money_pocket%§r §eKadis§r §7in§r §7your§r §7pocket§r§7.§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§2[§r§fMoney§r§2] §r§2You have sent §r§f")
- 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})
- log("%&tag_money%§r §7You§r §7have§r §7sent§r §e%&money_payed%§r §eKadis§r §7to§r §3%&money_receiver%§r§7.§r")
- #cut=1
- endif
- ifcontains(%CHAT%,"§r§2 has sent you §r§f")
- match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§f(.*)§r§2 has sent you §r§f(.*) Kadis§r§2.§r",{&money_sender,&money_received})
- log("%&tag_money%§r §7You§r §7recieved§r §e%&money_received%§r §eKadis§r §7from§r §3%&money_sender%§r§7.§r")
- #cut=1
- endif
- ifcontains(%CHAT%,"'s Balance: §r§f")
- match(%CHAT%,"§2\[§r§fMoney§r§2\] §r§2(.*)'s Balance: §r§f(.*) Kadis§r",{&money_name,&money_pocket})
- log("%&tag_money%§r §3%&money_name%§r §7has§r §e%&money_pocket%§r §eKadis§r §7in§r §7the§r §7pocket§r§7.§r")
- #cut=1
- endif
- endif
- else
- // Spleef 1/2
- ifbeginswith(%CHAT%,"§d[Spleef 3]§w ")
- if(#spleef)
- ifbeginswith(%CHAT%,"§d[Spleef 3]§w Spiel startet in ")
- #cut=1
- match(%CHAT%,"§d\[Spleef 3\]§w Spiel startet in (.*) Sekunden§r",{&spleef_time})
- &message="%&tag_spleef%§r §7Game§r §7starts§r §7in:§r §e%&spleef_time%§r §eseconds§r"
- playsound(entity.experience_orb.pickup)
- #output_tempinfo=1
- break
- endif
- ifbeginswith(%CHAT%,"§d[Spleef 3]§w Noch §r§e")
- #cut=1
- match(%CHAT%,"§d\[Spleef 3\]§w Noch §r§e(.*)§r§f Minuten Spielzeit§r",{&spleef_time})
- if(&spleef_time="1")
- &message="%&tag_spleef%§r §cGame§r §cends§r §cin§r §e%&spleef_time%§r §eminute§r§c!§r"
- else
- &message="%&tag_spleef%§r §cGame§r §cends§r §cin§r §e%&spleef_time%§r §eminutes§r§c!§r"
- endif
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§d\[Spleef 3\]§w Spiel §r§cbeendet§r§f.§r")
- #cut=1
- break
- endif
- ifendswith(%CHAT%,"§r§f Kadis gewonnen!§r")
- #cut=1
- match(%CHAT%,"§d\[Spleef 3\]§w §r§b(.*)§r§f hat §r§e(.*)§r§f Kadis gewonnen!§r",{&spleef_winner,&spleef_money})
- if(&spleef_winner=&name)
- &message="%&tag_spleef%§r §5§lYou§r §5§lwon!§r §2[§r§a+§r§e%&spleef_money%§r §eKadis§r§2]§r"
- playsound(entity.player.levelup)
- else
- &message="%&tag_spleef%§r §5We§r §5have§r §5a§r §5winner!§r §3%&spleef_winner%§r §5won§r §e%&spleef_money%§r §eKadis§r§5!§r"
- endif
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§d\[Spleef 3\]§w Es gibt Interessenten für eine neue Runde.§r")
- #cut=1
- break
- endif
- ifmatches(%CHAT%,"§d\[Spleef 3\]§w Eine neue Runde startet gleich.§r")
- #cut=1
- &message="%&tag_spleef%§r §7The§r §7game§r §7will§r §7begin§r §7soon.§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§d\[Spleef 3\]§w Spiel §r§agestartet§r§f!§r")
- #cut=1
- &message="%&tag_spleef%§r §a§lGO!§r"
- playsound(entity.rabbit.death)
- #output_chat=1
- #output_tempinfo=1
- break
- endif
- ifmatches(%CHAT%,"§d\[Spleef 3\]§w §r§cNiemand§r§f hat gewonnen!§r")
- #cut=1
- &message="%&tag_spleef%§r §cThere§r §cis§r §cno§r §cwinner...§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§d\[Spleef 3\]§w §r§cSpielzeit abgelaufen, beende das Spiel...§r")
- #cut=1
- &message="%&tag_spleef%§r §cTime§r §chas§r §cran§r §cout.§r §cNo§r §cwinner...§r"
- #output_chat=1
- break
- endif
- endif
- else
- // Ping
- ifbeginswith(%CHAT%,"§6[§r§aPING§r§6]§r§7: §r§a")
- if(#ping)
- ifbeginswith(%CHAT%,"§6[§r§aPING§r§6]§r§7: §r§aDein Ping ist: §r§6")
- match(%CHAT%,"§6\[§r§aPING§r§6\]§r§7: §r§aDein Ping ist: §r§6(.*)§r",{&ping_ping})
- log("%&tag_ping%§r§7 Your ping is §e%&ping_ping%§r §ems§r§7.§r")
- else
- ifbeginswith(%CHAT%,"§6[§r§aPING§r§6]§r§7: §r§aPing von ")
- match(%CHAT%,"§6\[§r§aPING§r§6\]§r§7: §r§aPing von (.*) ist: §r§6(.*)§r",{&ping_name,&ping_ping})
- log("%&tag_ping%§r §3%&ping_name%§r§7's§r §7ping§r §7is§r §e%&ping_ping%§r §ems§r§7.§r")
- else
- log("%&tag_ping%§r§7 Player not found...§r")
- endif
- endif
- #cut=1
- endif
- else
- // iTime
- ifbeginswith(%CHAT%,"§2[§r§fTime§r§2] §r§2Balance: §r§f")
- if(#money)
- match(%CHAT%,"§2\[§r§fTime§r§2\] §r§2Balance: §r§f(.*) Minutes§r",{&itime_itime})
- log("%&tag_itime%§r§7 You have §b%&itime_itime%§r &biTime§r§7.§r")
- #cut=1
- endif
- else
- // Mail & Lag
- ifbeginswith(%CHAT%,"§6[§r")
- match(%CHAT%,"§6\[§r(.*)§r§6\] (.*)§r",{&mail_sender,&mail_message})
- ifcontains(%&mail_sender%,"#")
- if(#lag)
- match(%&mail_message%,"(.*) TPS",{&lag_tps})
- log("%&tag_server%§r §7I§r §7am§r §7running§r §7at§r §e%&lag_tps%§r§7/§r§e20.0§r §7TPS.§r")
- #cut=1
- endif
- else
- ifcontains(%&mail_sender%,"§f_")
- if(#lag)
- match(%&mail_message%,"(.*) TPS",{&lag_tps})
- log("%&tag_server%§r §7I§r §7am§r §7running§r §7at§r §e%&lag_tps%§r§7/§r§e20.0§r §7TPS.§r")
- #cut=1
- endif
- else
- if(#mail)
- log("%&tag_arrow_r%§r §3%&mail_sender%§r§f: %&mail_message%§r")
- if(#mail_just_sent)
- #mail_just_sent=0
- if(&mail_receiver=&name)
- log(
- #mail_mails=%#mail_mails%+1
- endif
- endif
- #cut=1
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- else
- if(#chat)
- // Niemand hört dich
- ifmatches(%CHAT%,"§eNiemand hört dich. Schreibe /g DeinText um den ganzen Server anzuschreiben.§r")
- log("%&tag_server%§r §7Nobody heard you. Try§r §a/tell <Name>§r §7or§r §a/g <Text>§r§7.")
- #cut=1
- endif
- // Private Chat
- ifbeginswith(%CHAT%,"§8From §r")
- if(#chat)
- match(%CHAT%,"§8From §r(.*)§r§d: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§d"
- &chat_symbol="From"
- #chat_change=1
- endif
- else
- ifbeginswith(%CHAT%,"§8To §r")
- if(#chat)
- match(%CHAT%,"§8To §r(.*)§r§d: (.*)§r",{&chat_name,&chat_message})
- &chat_color="§d"
- &chat_symbol="To"
- #chat_change=1
- endif
- endif
- endif
- endif
- if(#mail)
- // Nachrichten
- ifbeginswith(%CHAT%,"§6Du hast ")
- ifmatches(%CHAT%,"§6Du hast keine Nachrichten.§r")
- #mail_mails=0
- log("%&tag_mail%§r§7 You got §e%#mail_mails% mails§7.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§6Du hast keine neue Nachrichten.§r")
- #mail_mails=0
- if(#mail_only_new=0)
- log("%&tag_mail%§r§7 You got §e%#mail_mails% mails§7.§r")
- endif
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§6Du hast §r§c")
- match(%CHAT%,"§6Du hast §r§c(.*) §r§6Nachrichten\! Schreibe §r§c/mail read§r§6 um deine Nachrichten anzuzeigen.§r",{#mail_mails})
- if(#mail_only_new)
- if(#mail_mails!=#mail_mails_old)
- #mail_mails_old=%#mail_mails%
- #mail_show=1
- endif
- else
- #mail_show=1
- endif
- if(#mail_show)
- if(#mail_mails!=0)
- if(#mail_mails=1)
- log("%&tag_mail%§r§7 You got §e%#mail_mails% mail§7. Type §a/mail read§7 to read it.§r")
- else
- log("%&tag_mail%§r§7 You got §e%#mail_mails% mails§7. Type §a/mail read§7 to read them.§r")
- endif
- endif
- #mail_show=0
- endif
- #cut=1
- endif
- endif
- ifcontains(%CHAT%,"Mail")
- ifbeginswith(%CHAT%,"§e ---- §r§6Mail: read §r§e--§r§6 Seite §r§c")
- 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})
- if(&mail_page_of="1")
- if(#mail_mails=1)
- log("%&tag_mail%§r§7 There is §e1 mail§7 in your mailbox.§r")
- else
- log("%&tag_mail%§r§7 There are §e%#mail_mails% mails§7 in your mailbox.§r")
- endif
- else
- 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")
- endif
- #cut=1
- endif
- ifendswith(%CHAT%,"§r§6 wurde diese Mail gesendet:§r")
- match(%CHAT%,"§c(.*)§r§6 wurde diese Mail gesendet:§r",{&mail_receiver})
- log("%&tag_mail%§r§7 You sent §3%&mail_receiver%§7 the following mail:§r")
- #mail_just_sent=1
- #cut=1
- endif
- endif
- ifcontains(%CHAT%,"/mail ")
- ifbeginswith(%CHAT%,"§6Tippe§r§c /mail read ")
- #cut=1
- endif
- ifmatches(%CHAT%,"§6Um deine Nachrichten zu löschen, schreibe§r§c /mail clear.§r")
- if(%&mail_page_of%="1")
- log("%&tag_arrow_r%§r§7 Clear your mailbox with §c/mail clear§7.§r")
- else
- 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")
- endif
- #cut=1
- endif
- endif
- ifmatches(%CHAT%,"§6Nachrichten gelöscht!§r")
- log("%&tag_mail%§r§7 You cleared your mailbox.§r")
- #mail_mails=0
- #cut=1
- endif
- endif
- // Shop 2/2
- if(#shop)
- ifbeginswith(%CHAT%,"Du wirst §r§a")
- ifendswith(%CHAT%,"§r§f kaufen.§r")
- match(%CHAT%,"Du wirst §r§a(.*)§r (.*) \((.*)\) für §r§c(.*)§r§f kaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
- 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")
- #cut=1
- endif
- ifendswith(%CHAT%,"§r§f verkaufen.§r")
- match(%CHAT%,"Du wirst §r§a(.*)§r (.*) \((.*)\) für §r§c(.*)§r§f verkaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
- 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")
- #cut=1
- endif
- else
- ifbeginswith(%CHAT%,"Du wirst ")
- ifendswith(%CHAT%,"§r§f kaufen.§r")
- match(%CHAT%,"Du wirst (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*)§r§f kaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
- 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")
- #cut=1
- endif
- ifendswith(%CHAT%,"§r§f verkaufen.§r")
- match(%CHAT%,"Du wirst (.*) MONSTER_EGG (.*) \((.*)\) für §r§c(.*)§r§f verkaufen.§r",{#shop_amount_request,&shop_item,&shop_id,&shop_money})
- 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")
- #cut=1
- endif
- else
- ifbeginswith(%CHAT%,"§aPreiskorrektur basierend auf der ItemQualität. Rückerstattung: ")
- match(%CHAT%,"§aPreiskorrektur basierend auf der ItemQualität. Rückerstattung: (.*) Kadis§r",{&shop_compensation})
- #cut=1
- endif
- endif
- endif
- ifmatches(%CHAT%,"Der Handel wurde abgebrochen.§r")
- log("%&tag_shop%§r §7Your trading request was canceled.§r")
- #cut=1
- endif
- endif
- // Guildinfo (GUILD MEMBERS HINZUFÜGEN)
- if(#guildinfo)
- ifmatches(%CHAT%,"§b-----------------------------------------------------§r")
- #cut=1
- endif
- ifendswith(%CHAT%," hat das Spiel betreten§r")
- match(%CHAT%,"§a(.*) hat das Spiel betreten§r",{&guild_join_leave})
- log("§8[§a+§8] §3%&guild_join_leave%")
- #cut=1
- endif
- ifendswith(%CHAT%," §r§chat das Spiel verlassen§r")
- match(%CHAT%,"§a(.*) §r§chat das Spiel verlassen§r",{&guild_join_leave})
- log("§8[§4-§8] §3%&guild_join_leave%")
- #cut=1
- endif
- endif
- ifmatches("§a%&name% §r§chat die Gilde verlassen!§r")
- &guild_name=""
- #guild=0
- #updatelabel=1
- #updatechat=1
- endif
- ifmatches("§a%&name% §r§cwurde aus der Gilde geworfen§r")
- &guild_name=""
- #guild=0
- #updatelabel=1
- #updatechat=1
- endif
- // ActiveChat
- if(#activechat)
- ifmatches(%CHAT%,"§eNiemand hat dir eine Nachricht hinterlassen.§r")
- log("%&tag_activechat%§r§7 There is no one to reply...")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§eDu ")
- ifbeginswith(%CHAT%,"§eDu chattest jetzt mit §r§f")
- match(%CHAT%,"§eDu chattest jetzt mit §r§f(.*)§r§e.§r",{&activechat_active})
- &activechat_colored="§d%&activechat_active%"
- #updatelabel=1
- #updatechat=1
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§eDu chattest jetzt in §r")
- match(%CHAT%,"§eDu chattest jetzt in §r(.*)§r§e.§r",{&activechat_colored})
- strip(&activechat_active,%&activechat_colored%)
- #updatelabel=1
- #updatechat=1
- #cut=1
- endif
- ifmatches(%CHAT%,"§eDu bist nun AFK.§r")
- log("%&tag_activechat%§r§7 You are AFK now. §cGoodbye§7!")
- #afk=1
- #updatelabel=1
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§eDu bist nicht länger AFK.§r")
- log("%&tag_activechat%§r§7 You returned from your AFK-Adventure. §aWelcome back§7!")
- #afk=0
- #updatelabel=1
- #cut=1
- endif
- endif
- ifcontains(%CHAT%," wurde ")
- ifmatches(%CHAT%,"§eSpieler wurde nicht gefunden.§r")
- log("%&tag_activechat%§r§7 Player not found...")
- #cut=1
- endif
- ifmatches(%CHAT%,"§eChannel wurde nicht gefunden.§r")
- log("%&tag_activechat%§r§7 Channel not found...")
- #cut=1
- endif
- ifmatches(%CHAT%,"§2Gilden§r§bchat wurde aktiviert§r")
- #guild=1
- #updatelabel=1
- #updatechat=1
- #cut=1
- endif
- ifmatches(%CHAT%,"§2Gilden§r§bchat wurde deaktiviert§r")
- #guild=0
- #updatelabel=1
- #updatechat=1
- #cut=1
- endif
- endif
- ifbeginswith(%CHAT%,"§c§lDu wirst zu Server ")
- #switch=1
- #cut=1
- endif
- if(%#updatelabel%)
- #updatelabel=0
- if(%#guild%)
- if(%#afk%)
- setlabel(ActiveChat,"%&tag_afk%§r §7§lGuildchat§r §8(§7%&activechat_active%§r§8)")
- else
- setlabel(ActiveChat,"%&tag_activechat%§r §a§lGuildchat§r §8(§7%&activechat_active%§r§8)")
- endif
- else
- if(%#afk%)
- setlabel(ActiveChat,"%&tag_afk%§r §7%&activechat_active%§r")
- else
- setlabel(ActiveChat,"%&tag_activechat%§r %&activechat_colored%§r")
- endif
- endif
- endif
- if(%#updatechat%)
- #updatechat=0
- if(%#guild%)
- if(%#afk%)
- log("%&tag_afk%§r §7§lGuildchat§r §8(§7%&activechat_active%§r§8)")
- else
- log("%&tag_activechat%§r §a§lGuildchat§r §8(§7%&activechat_active%§r§8)")
- endif
- else
- if(%#afk%)
- log("%&tag_afk%§r §7%&activechat_active%§r")
- else
- log("%&tag_activechat%§r %&activechat_colored%§r")
- endif
- endif
- endif
- endif
- // Tpa
- if(#tpa)
- ifcontains(%CHAT%,"eleport")
- ifmatches(%CHAT%,"§cFehler:§r§4 §r§4Teleportierungsanfrage ist abgelaufen.§r")
- log("%&tag_tpa%§r§7 No teleport request found within the last §e30 seconds§7.")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cFehler:§r§4 §r§4Du hast keine Teleportierungsanfragen.§r")
- log("%&tag_tpa%§r§7 No teleport request found within the last §e30 seconds§7.")
- #cut=1
- endif
- ifendswith(%CHAT%,"§r§4 bereits eine Teleportierungsanfrage gesendet.§r")
- match(%CHAT%,"§cFehler:§r§4 §r§4Du hast (.*)§r§4 bereits eine Teleportierungsanfrage gesendet.§r",{&tpa_spam})
- log("%&tag_tpa%§r §7You§r §7already§r §7sent§r §3%&tpa_spam%§r §7a§r §7teleport§r §7request.§r")
- &tpa_teleport="here"
- #cut=1
- endif
- ifendswith(%CHAT%,"§6 fragt, ob er sich zu dir teleportieren darf.§r")
- match(%CHAT%,"§c(.*)§r§6 fragt, ob er sich zu dir teleportieren darf.§r",{&tpa_teleportin})
- 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")
- &tpa_teleport="here"
- #cut=1
- endif
- ifendswith(%CHAT%,"§6 fragt, ob du dich zu ihm teleportierst.§r")
- match(%CHAT%,"§c(.*)§r§6 fragt, ob du dich zu ihm teleportierst.§r",{&tpa_teleportin})
- 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")
- &tpa_teleport="there"
- #cut=1
- endif
- ifmatches(%CHAT%,"§7Teleportierungsanfrage akzeptiert.§r")
- if(%&tpa_teleport%="here")
- log("%&tag_tpa%§r§7 Teleported §3%&tpa_teleportin%§7 to you.")
- elseif(%&tpa_teleport%="there")
- log("%&tag_tpa%§r§7 You teleported to §3%&tpa_teleportin%§7.")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§6Um zu teleportieren, schreibe §r§c/tpaccept§r§6.§r")
- #cut=1
- endif
- ifendswith(%CHAT%," §r§6hat deine Teleportierungsanfrage angenommen.§r")
- match(%CHAT%,"§c(.*) §r§6hat deine Teleportierungsanfrage angenommen.§r",{&tpa_teleportaccepted})
- #cut=1
- endif
- ifmatches(%CHAT%,"§6Teleportiere...§r")
- if(%&tpa_teleportaccepted%)
- log("%&tag_tpa%§r§7 §3%&tpa_teleportaccepted%§7 was teleported to you.")
- &tpa_teleportaccepted=0
- #cut=1
- endif
- endif
- ifbeginswith(%CHAT%,"§6teleportieren zu §r§c")
- match(%CHAT%,"§6teleportieren zu §r§c(.*)§r§6.§r",{&tpa_teleportaccepted})
- log("%&tag_tpa%§r§7 You have been teleported to §3%&tpa_teleportaccepted%§7.")
- &tpa_teleportaccepted=0
- #cut=1
- endif
- ifmatches(%CHAT%,"Request to teleport to the specified player.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"Request that the specified player teleport to you.§r")
- #cut=1
- endif
- endif
- ifcontains(%CHAT%,"Anfrage")
- ifmatches(%CHAT%,"§6Um diese Anfrage abzulehnen, schreibe §r§c/tpdeny§r§6.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§6Diese Anfrage wird nach§r§c 30 Sekunden§r§6 ungültig.§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§6Anfrage gesendet an§r§c ")
- match(%CHAT%,"§6Anfrage gesendet an§r§c (.*)§r§6.§r",{&tpa_teleportout})
- log("%&tag_tpa%§r§7 Teleport request sent to §3%&tpa_teleportout%§7.")
- #cut=1
- endif
- endif
- ifmatches(%CHAT%,"§6Kehre zur letzten Position zurück.§r")
- log("%&tag_tpa%§r§7 Wooosh! You're back!")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cFehler:§r§4 §r§4Spieler nicht gefunden.§r")
- log("%&tag_tpa%§r§7 Player not found...")
- #cut=1
- endif
- endif
- ifmatches(%CHAT%,"/tpa <player>§r")
- if(#tpa)
- if(#tpa=1)
- log("%&tag_tpa%§r§7 Use §a/tpa <Name>§7 to teleport yourself to a player.")
- #cut=1
- elseif(#tpa=2)
- if(&activechat_colored="§eLocal")
- log("%&tag_tpa%§r§7 Use §a/tpa <Name>§7 to teleport yourself to a player.")
- elseif(&activechat_colored="")
- log("%&tag_tpa%§r§7 Use §a/tpa <Name>§7 to teleport yourself to a player.")
- else
- echo("/tpa %&activechat_active%")
- endif
- #cut=1
- endif
- endif
- endif
- ifmatches(%CHAT%,"/tpahere <player>§r")
- if(#tpa)
- if(#tpa=1)
- log("%&tag_tpa%§r§7 Use §a/tpahere <Name>§7 to teleport a player to you.")
- #cut=1
- elseif(#tpa=2)
- if(&activechat_colored="§eLocal")
- log("%&tag_tpa%§r§7 Use §a/tpahere <Name>§7 to teleport a player to you.")
- elseif(&activechat_colored="")
- log("%&tag_tpa%§r§7 Use §a/tpahere <Name>§7 to teleport a player to you.")
- else
- echo("/tpahere %&activechat_active%")
- endif
- #cut=1
- endif
- endif
- endif
- // Votes
- if(#votes)
- ifbeginswith(%CHAT%,"§aDir sind heute bereits §6")
- 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})
- if(#votes_others=1)
- 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")
- endif
- #cut=1
- endif
- ifcontains(%CHAT%,"Vote")
- ifendswith(%CHAT%," Kadis§r§a für die neuen Votes erhalten :)§r")
- match(%CHAT%,"§f(.*) Kadis§r§a für die neuen Votes erhalten :\)§r",{&votes_kadis})
- #cut=1
- endif
- ifendswith(%CHAT%," Minuten§r§b für die neuen Votes erhalten :)§r")
- match(%CHAT%,"§f(.*) Minuten§r§b für die neuen Votes erhalten :\)§r",{&votes_itime})
- if(#votes_reward=1)
- log("%&tag_votes%§r§7 You received §2[§a+§e%&votes_kadis% Kadis§2]§7 and §2[§a+§b%&votes_itime% iTime§2]§7!")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§aDanke fürs Voten, du hast Kadis und iTime erhalten§r")
- if(#votes_voted=1)
- 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")
- endif
- #cut=1
- endif
- endif
- endif
- // Server
- if(#server)
- ifcontains(%CHAT%,"erver")
- ifbeginswith(%CHAT%,"§dWelcome to the server ")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§6Dir gefaellt der Server? Bitte §r")
- #cut=1
- endif
- endif
- ifcontains(%CHAT%," §r§3 ")
- 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")
- #cut=1
- endif
- 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")
- #cut=1
- endif
- 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")
- #cut=1
- endif
- endif
- endif
- // NoPerm
- if(#noperm)
- ifbeginswith(%CHAT%,"§4")
- ifmatches(%CHAT%,"§4Du hast keinen Zugriff auf diesen Befehl.§r")
- #noperm_command=1
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You are in a no-PvP area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7You are in a no-PvP area.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4Kein Animal-Griefing.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7Be nice to other's Animals.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You're not invited to this tea party!§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7Get your own cake. Fatass.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4It is not possible to spawn Animals here!§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7Spawn your animals on your land.§r")
- endif
- #cut=1
- endif
- endif
- ifcontains(%CHAT%,"permi")
- 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")
- #noperm_command=1
- #cut=1
- endif
- ifmatches(%CHAT%,"§cYou do not have permission to use that command§r")
- #noperm_command=1
- #cut=1
- endif
- ifmatches(%CHAT%,"§cYou are not permitted to do that. Are you in the right mode\?§r")
- #noperm_command=1
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You don't have permission to damage in this area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7You don't have permission to damage in this area.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You don't have permission to use that in this area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7You don't have permission to use that in this area.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You don't have permission for this area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7You don't have permission for this area.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You don't have permission to open that in this area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7You don't have permission to open that in this area.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You don't have interact permission in this area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7This is not yours. Stop it.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You don't have permission to destroy vehicles here.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7Don't try to destroy others property. Be nice.§r")
- endif
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You are not permitted to enter this area.§r")
- if(#noperm_sound_action=1)
- playsound(entity.villager.no)
- endif
- if(#noperm_clean_action=0)
- log("%&tag_server%§r §7Sorry, this region is blocked.§r")
- endif
- #cut=1
- endif
- endif
- ifmatches(%CHAT%,"Unknown command. Type \"/help\" for help.§r")
- log("%&tag_server%§r §7Unknown command. Type §a/help§7 for help.§r")
- #cut=1
- endif
- if(#noperm_command)
- log("%&tag_server%§r §7Your command was blocked.§r")
- if(#noperm_sound_chat)
- playsound(entity.villager.no)
- endif
- #noperm_command=0
- endif
- endif
- // Spam
- ifbeginswith(%CHAT%,"§6Guild Name: ")
- #spam=-1
- endif
- ifbeginswith(%CHAT%,"§2Top §r§f")
- match(%CHAT%,"§2Top §r§f(.*)§r§2 Richest Players:§r",{#spam})
- endif
- // Bank
- ifmatches(%CHAT%,"§6Bank: §r§aGerne. Hier ist Ihre Kontoinformation:§r")
- #bank_read=1
- if(#bank||#name_check)
- #cut=1
- endif
- endif
- if(#bank_read)
- ifbeginswith(%CHAT%," §r§6(")
- match(%CHAT%," §r§6\((.*)\)§r§a: §r§e(.*) Kadis§r§a von §r§e(.*)§r",{&name,&bank_money,&bank_owner})
- if(#name_check)
- #cut=1
- else
- if(#bank)
- log("%&tag_arrow_r%§r §aPrivate§r §abank§r §aaccount:§r §e%&bank_money%§r §eKadis§r")
- #cut=1
- endif
- endif
- else
- ifbeginswith(%CHAT%," §r§6")
- match(%CHAT%," §r§6(.*)§r§a: §r§e(.*) Kadis§r§a von §r§e(.*)§r",{&bank_account,&bank_money,&bank_owner})
- if(#name_check)
- #cut=1
- else
- if(#bank)
- if(&bank_owner=&name)
- log("%&tag_arrow_r%§r §6%&bank_account%§r§a:§r §e%&bank_money%§r §eKadis§r")
- else
- log("%&tag_arrow_r%§r §6%&bank_account%§r §afrom§r §3%&bank_owner%§r§a:§r §e%&bank_money%§r §eKadis§r")
- endif
- #cut=1
- endif
- endif
- else
- ifbeginswith(%CHAT%," §r§amit Zugriff für: §r§e")
- match(%CHAT%," §r§amit Zugriff für: §r§e(.*)§r",{&bank_adds})
- if(#name_check)
- #cut=1
- else
- if(#bank)
- split(", ",%&bank_adds%,&bank_adds_array[])
- join("§r§a,§r §3",&bank_adds_array[],&bank_adds)
- arraysize(&bank_adds_array[],#bank_adds_amount)
- if(#bank_adds_visible>1)
- if(#bank_adds_amount>=#bank_adds_visible)
- log("%&tag_minus%§r%&tag_arrow_r%§r §a(§r§e%#bank_adds_amount%§r §eplayers§r §aare§r §aadded)§r")
- else
- log("%&tag_minus%§r%&tag_arrow_r%§r §a(§r§3%&bank_adds%§r§a)§r")
- endif
- elseif(#bank_adds_visible=1)
- log("%&tag_minus%§r%&tag_arrow_r%§r §a(§r§3%&bank_adds%§r§a)§r")
- endif
- #cut=1
- endif
- endif
- else
- ifbeginswith(%CHAT%," §r§aAktuelles Geld dabei: §r§e")
- match(%CHAT%," §r§aAktuelles Geld dabei: §r§e(.*) Kadis§r",{&money_pocket})
- if(#name_check)
- #cut=1
- else
- if(#bank)
- log("%&tag_bank%§r §aYou§r §agot§r §e%&money_pocket%§r §eKadis§r §ain§r §ayour§r §apocket§r§a.§r")
- #cut=1
- endif
- endif
- else
- ifbeginswith(%CHAT%," §r§aSie haben ")
- match(%CHAT%," §r§aSie haben (.*) Konten.\(max. (.*)\)§r",{&bank_accounts,&bank_accounts_max})
- if(#name_check)
- #cut=1
- else
- if(#bank)
- 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")
- #cut=1
- endif
- endif
- else
- ifbeginswith(%CHAT%," §r§aGesamt verfügbares Vermögen: §r§e")
- match(%CHAT%," §r§aGesamt verfügbares Vermögen: §r§e(.*) Kadis§r",{&bank_money_sum})
- if(#name_check)
- #cut=1
- else
- if(#bank)
- 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")
- #cut=1
- endif
- endif
- #bank_read=0
- #name_check=0
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- if(#bank)
- ifmatches(%CHAT%,"§cBitte nicht so schnell klicken, warte einen kurzen Moment.§r")
- log("§e[l] §r%&tag_bank_cashmashine%§r§e:§r §ePlease§r §ewait§r §ea§r §emoment.§r §eSecure§r §esystems§r §eneed§r §etime.§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§cBeispiel: /kbank ")
- #cut=1
- endif
- endif
- // mcMMO
- if(#mcmmo)
- ifbeginswith(%CHATCLEAN%,"**")
- ifbeginswith(%CHAT%,"§a**YOU READY YOUR ")
- match(%CHAT%,"§a\*\*YOU READY YOUR (.*)\*\*§r",{&mcmmo_ability})
- lcase(%&mcmmo_ability%,&mcmmo_ability)
- logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7ready§r §7your§r §a%&mcmmo_ability%§r§7!§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§7**YOU LOWER YOUR ")
- match(%CHAT%,"§7\*\*YOU LOWER YOUR (.*)\*\*§r",{&mcmmo_ability})
- lcase(%&mcmmo_ability%,&mcmmo_ability)
- logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7lower§r §7your§r §c%&mcmmo_ability%§r§7!§r")
- #cut=1
- endif
- ifendswith(%CHAT%," ACTIVATED**§r")
- match(%CHAT%,"§a\*\*(.*) ACTIVATED\*\*§r",{&mcmmo_ability})
- lcase(%&mcmmo_ability%,&mcmmo_ability)
- logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7activated§r §7your§r §a%&mcmmo_ability%§r §7ability!§r")
- #cut=1
- endif
- ifendswith(%CHAT%," has worn off**§r")
- match(%CHAT%,"§c\*\*(.*) has worn off\*\*§r",{&mcmmo_ability})
- lcase(%&mcmmo_ability%,&mcmmo_ability)
- logto(TempInfo,"%&tag_mcmmo%§r §7Your§r §c%&mcmmo_ability%§r §7ability§r §7has§r §7worn§r §7off...§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§c\*\*GREEN THUMB FAIL\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7failed.§r §7Your§r §7seeds§r §cdied§r§7.§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§a\*\*Graceful Landing\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7Rolled§r §7perfectly!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"\*\*Rolled\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7Rolled!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§a\*\*ENEMY BLEEDING\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aTarget§r §ais§r §cbleeding§r§a!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§a\*\*COUNTER-ATTACKED\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aCounter§r §cattacked§r§a!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§a\*\*Dodged\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aDodged!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§a\*\*STRUCK WITH GREAT FORCE\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aOH§r §aMY!§r §aWhat§r §aa§r §cpowerful§r §chit§r§a!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§f\*\*ARROW DEFLECT\*\*§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aArrow§r §adeflect!§r")
- #cut=1
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- ifendswith(%CHAT%,"§r§aability is refreshed!§r")
- match(%CHAT%,"§aYour §r§e(.*) §r§aability is refreshed!§r",{&mcmmo_ability})
- lcase(%&mcmmo_ability%,&mcmmo_ability)
- logto(TempInfo,"%&tag_mcmmo%§r §7Your§r §a%&mcmmo_ability%§r §7ability§r §7is§r §7ready§r §7again!§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§c")
- ifmatches(%CHAT%,"§cYOUR AXE SPLINTERS INTO DOZENS OF PIECES!§r")
- logto(TempInfo,"%&tag_mcmmo%§r §cYour§r §caxe§r §csplinters§r §cinto§r §cdozens§r §cof§r §cpieces!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cThat tree is too large!§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7That§r §7tree§r §7is§r §7too§r §7large!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cCRITICAL HIT!§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aBOOM!§r §aCritical§r §ahit!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cYou have too many wolves nearby to summon any more.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7There§r §7are§r §7too§r §7many§r §awolves§r §7nearby...§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cYou have too many ocelots nearby to summon any more.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7There§r §7are§r §7too§r §7many§r §aocelots§r §7nearby...§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cArcane power has permanently left the item.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §cThe§r §cenchantment§r §cleft§r §cyour§r §citem...§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§cArcane power has decreased for this item.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7The§r §7enchantment§r §7decreased§r §7in§r §7it's§r §7power...§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§cYou are too tired to use that ability again.§r§e (")
- match(%CHAT%,"§cYou are too tired to use that ability again.§r§e \((.*)s\)§r",{&mcmmo_cooldown})
- 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")
- #cut=1
- endif
- endif
- ifmatches(%CHAT%,"§aSummoning complete§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7have§r §7summoned§r §7your§r §7pet!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§aYour iron grip kept you from being disarmed!§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7Your§r §airon§r §agrip§r §7saved§r §7your§r §7item§r §7from§r §7being§r §7dropped!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You have been disarmed!§r")
- logto(TempInfo,"%&tag_mcmmo%§r §cYou§r §chave§r §cbeen§r §cdisarmed!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§7That felt easy.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7Nice§r §7work.§r §7Looks§r §7good!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§7That is at full durability.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §7There§r §7is§r §7no§r §7need§r §7to§r §7repair§r §7this.§r")
- #cut=1
- endif
- ifbeginswith(%CHAT%,"§4You need more §r")
- match(%CHAT%,"§4You need more §r(.*)§r",{&mcmmo_repair_item})
- logto(TempInfo,"%&tag_mcmmo%§r §7You§r §7need§r §7more§r %&mcmmo_repair_item%§r§7!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§aYou have sustained the arcane energies in this item.§r")
- logto(TempInfo,"%&tag_mcmmo%§r §aThe§r §aenchantment§r §akept§r §aintact!§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§4You have placed an anvil, anvils can repair tools and armor.§r")
- #cut=1
- endif
- ifmatches(%CHAT%,"§7Treasure found!§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§7You feel a touch of magic on this treasure...§r")
- #cut=1
- endif
- endif
- endif
- // Spleef 2/2
- if(#spleef)
- ifmatches(%CHAT%,"§eDer Spieleinsatz von 10 Kadis wird bei Beginn eingezogen.§r")
- #cut=1
- &message="%&tag_spleef%§r §7You§r §7will§r §7pay§r §e10§r §eKadis§r §7at§r §7game§r §7start.§r"
- #output_tempinfo=1
- break
- endif
- ifmatches(%CHAT%,"§4Achtung§r§e: Dein Inventar wird bei Spielbeginn geleert, lege also alles ab, was dir lieb ist \(oder nutze /inv save\).§r")
- #cut=1
- &message="%&tag_spleef%§r §cWarning:§r §7Your§r §7inventory§r §7will§r §7be§r §7cleared§r §7at§r §7game§r §7start!§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§b \*\* allow§r")
- #cut=1
- break
- endif
- ifmatches(%CHAT%,"§eDu hast den Einsatz von 10 Kadis bezahlt.§r")
- #cut=1
- &message="%&tag_spleef%§r §7You§r §7paid§r §7your§r §7participation§r §7fee.§r §4[§r§c-§r§e10§r §eKadis§r§4]§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§6AntiCamping: Vorsicht noch 5 Sekunden, um dich wegzubewegen§r")
- #cut=1
- &message="%&tag_spleef%§r §cMove!§r §4AntiCamping§r §cwill§r §cstrike§r §cin§r §e5§r §eseconds§r§c!§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§cAntiCamping hat zugeschlagen, ab nach unten :-\)§r")
- #cut=1
- &message="%&tag_spleef%§r §c§lBOOM!§r §4AntiCamping§r §cstruck!§r"
- #output_chat=1
- break
- endif
- ifmatches(%CHAT%,"§cEs sind noch nicht genug Spieler da \(mind. 2\)§r")
- #cut=1
- &message="%&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"
- #output_chat=1
- break
- endif
- endif
- // Spawnie
- if(#spawnie)
- ifmatches(%CHAT%,"§6Tipp: Du kannst dein Spawnie umziehen mit §r§f/spawnie umziehen§r")
- #cut=1
- else
- ifmatches(%CHAT%,"§6Tipp: Du kannst dein Spawnie zurücksetzen mit §r§f/spawnie reset§r")
- #cut=1
- endif
- endif
- endif
- // View
- if(#view=0)
- ifbeginswith(%CHAT%,"§eChanged View Distance to ")
- #cut=1
- break
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- if(#activechat=0)
- setlabel(ActiveChat,"")
- endif
- while(0)
- if(#chat_change)
- &chat_channel[0]="§8[§r%&chat_color%%&chat_symbol%§r§8]§r "
- &chat_channel[1]="§r%&chat_color%: "
- &chat_rank="§r§7"
- ifbeginswith(%&chat_name%,"§bVip§r§8| §r§f")
- match(%&chat_name%,"§bVip§r§8\| §r§f(.*)",{&chat_name})
- &chat_rank="§r§f"
- else
- ifbeginswith(%&chat_name%,"§7[§r§9Mod§r§7]§r§f")
- match(%&chat_name%,"§7\[§r§9Mod§r§7\]§r§f(.*)",{&chat_name})
- &chat_rank="§7[§r§9Mod§r§7]§r §f"
- else
- ifbeginswith(%&chat_name%,"§7[§r§9SMod§r§7]§r§f")
- match(%&chat_name%,"§7\[§r§9SMod§r§7\]§r§f(.*)",{&chat_name})
- &chat_rank="§7[§r§9SMod§r§7]§r §f"
- else
- ifbeginswith(%&chat_name%,"§0[§r§4A§r§0]§r§6")
- match(%&chat_name%,"§0\[§r§4A§r§0\]§r(.*)",{&chat_name})
- strip(&chat_name,%&chat_name%)
- &chat_rank="§0[§r§4A§r§0]§r "
- endif
- endif
- endif
- endif
- split(" ",%&chat_message%,&chat_message_array[])
- join("§r %&chat_color%",&chat_message_array[],&chat_message)
- log("%&chat_channel[0]%%&chat_rank%%&chat_name%%&chat_channel[1]%%&chat_color%%&chat_message%§r")
- #chat_change=0
- #cut=1
- endif
- if(#output_chat)
- #output_chat=0
- log("%&message%")
- endif
- if(#output_activechat)
- #output_activechat=0
- setlabel(ActiveChat,"%&message%")
- endif
- if(#output_tempinfo)
- #output_tempinfo=0
- logto(TempInfo,"%&message%")
- endif
- if(#debug=0)
- if(#cut)
- #cut=0
- filter
- endif
- endif
- else
- setlabel(ActiveChat,"")
- endif
- elseif(#spam>0)
- dec(#spam)
- elseif(#spam=-1)
- ifbeginswith(%CHAT%,"§eOnline Members: §r§a")
- #spam=0
- endif
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement