SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #FROSTCHAT ( CUSTOM CHAT CONTROL SKRIPT MADE BY FROSTEDWEFALL )# |
| 1 | + | |
| 2 | - | #INTENDED FOR USE AT MC.MINEHUT.COM AND TNTSPLEEF.MINEHUT.ME )# |
| 2 | + | |
| 3 | AdminPerm: &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command! | |
| 4 | ModPerm: &8» &7You require the rank &7[&eMODERATOR&7] to execute that command! | |
| 5 | OwnerPerm: &8» &7You require the rank &7[&4OWNER&7] to execute that command! | |
| 6 | AdminCmdPerm: frostchat.admin | |
| 7 | ModCmdPerm: frostchat.mod | |
| 8 | OwnerCmdPerm: frostchat.owner | |
| 9 | MainCmdAliases: /frostaa /aa /antiad | |
| 10 | Version: &c1.2.6 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING# | |
| 11 | on chat: | |
| 12 | - | Version: &c1.2.2 &8- &4TEST BUILD #DO NOT CHANGE THE VERSION OR EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING# |
| 12 | + | |
| 13 | - | on join: |
| 13 | + | player doesn't have permission "frostchat.admin" |
| 14 | - | broadcast "{@prefix} &4FrostChat Skript is being prepared for startup&8!"
|
| 14 | + | |
| 15 | - | wait 2 seconds |
| 15 | + | |
| 16 | - | broadcast "{@prefix} &6FrostChat is ready for startup&8!
|
| 16 | + | |
| 17 | - | wait 4 seconds |
| 17 | + | |
| 18 | if message contains "com": | |
| 19 | - | broadcast "{@prefix} &aFrostChat Skript has loaded successfully&8!"
|
| 19 | + | player doesn't have permission "frostchat.admin" |
| 20 | - | broadcast "{@prefix} &4Report Any Issues Here : http://bit.ly/2h7ab7V
|
| 20 | + | |
| 21 | message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
| |
| 22 | message "{@prefix} &8» &7You require the rank &7[&eMODERATOR&7] to execute that command!"
| |
| 23 | on chat: | |
| 24 | if message contains "eu": | |
| 25 | - | broadcast "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" |
| 25 | + | player doesn't have permission "frostchat.admin" |
| 26 | cancel event | |
| 27 | message "{@prefix} &8» &7Please do not advertise unverified links in chat!"
| |
| 28 | - | player doesn't have permission "frostchat.bypass" |
| 28 | + | |
| 29 | on chat: | |
| 30 | if message contains "co": | |
| 31 | player doesn't have permission "frostchat.admin" | |
| 32 | cancel event | |
| 33 | - | if message contains ".com": |
| 33 | + | |
| 34 | - | player doesn't have permission "frostchat.bypass" |
| 34 | + | |
| 35 | command /frostaa [<text>]: | |
| 36 | aliases: {@MainCmdAliases}
| |
| 37 | permission: {@ModCmdPerm}
| |
| 38 | permission message: {@ModPerm}
| |
| 39 | - | if message contains ".eu": |
| 39 | + | |
| 40 | - | player doesn't have permission "frostchat.bypass" |
| 40 | + | |
| 41 | send "&7&m--------------------------" | |
| 42 | send " {@prefix} &b&lCommands&8:"
| |
| 43 | send "&f" | |
| 44 | send "&8- &7/frostchat reload" | |
| 45 | - | if message contains ".co": |
| 45 | + | |
| 46 | - | player doesn't have permission "frostchat.bypass" |
| 46 | + | |
| 47 | send "&8- &7/frostaa reload" | |
| 48 | send "&8- &7/frostaa help" | |
| 49 | send "&8- &7/chat help" | |
| 50 | send "&8- &7More Features Coming Soon!" | |
| 51 | - | if message contains ".us": |
| 51 | + | |
| 52 | - | player doesn't have permission "frostchat.bypass" |
| 52 | + | |
| 53 | if arg 1 is "reload": | |
| 54 | broadcast "{@prefix} &4FrostChat Skript is being prepared for reload&8!"
| |
| 55 | wait 3 seconds | |
| 56 | - | |
| 56 | + | |
| 57 | send "{@prefix} &aFrostChat Skript has been reloaded successfully"
| |
| 58 | wait 3 seconds | |
| 59 | broadcast "&8- &7FrostChat Skript By &aFrostedWeFall" | |
| 60 | broadcast "&8- &7Version&8: {@Version}"
| |
| 61 | broadcast "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh" | |
| 62 | broadcast "&8- &7Report Any Issues Here: http://bit.ly/2h7ab7V" | |
| 63 | ||
| 64 | command /frostchat [<text>]: | |
| 65 | aliases: /fchat, /frostc | |
| 66 | permission: {@OwnerCmdPerm}
| |
| 67 | permission message: {@OwnerPerm}
| |
| 68 | trigger: | |
| 69 | if arg 1 is "help": | |
| 70 | send "{@prefix} &b&lCommands&8:"
| |
| 71 | - | send "&8- &7/frostaar reset" |
| 71 | + | |
| 72 | send "&8- &7/frostchat version" | |
| 73 | if arg 1 is "version": | |
| 74 | send "&8- &7Version&8: {@Version}"
| |
| 75 | send "&8- &7FrostChat Skript By &aFrostedWeFall" | |
| 76 | send "&8- &7https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" | |
| 77 | - | send "{@prefix} &aFrostChat Skript is being reloaded&8!"
|
| 77 | + | send "&8- &7Report Any Issues Here: http://bit.ly/2h7ab7V" |
| 78 | - | wait 4 seconds |
| 78 | + | |
| 79 | permission: {@OwnerCmdPerm}
| |
| 80 | permission message:{@OwnerPerm}
| |
| 81 | trigger: | |
| 82 | if arg 1 is "help": | |
| 83 | send "{@prefix} &b&lCommands&8:"
| |
| 84 | send "&8- &7/chat clear" | |
| 85 | - | broadcast "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" |
| 85 | + | |
| 86 | send "&8- &7/chat enable" | |
| 87 | if arg 1 is "clear": | |
| 88 | loop 300 times: | |
| 89 | broadcast "" | |
| 90 | broadcast "" | |
| 91 | broadcast "{@prefix} &2Chat has been cleared by &a%player%"
| |
| 92 | if arg 1 is "disable": | |
| 93 | set {chat} to false
| |
| 94 | broadcast "{@prefix} &c%player% &7Has Muted The Chat!&8."
| |
| 95 | if arg 1 is "enable": | |
| 96 | - | if arg 1 is not set: |
| 96 | + | |
| 97 | - | send "{@prefix} &6&lHelp&8:"
|
| 97 | + | |
| 98 | ||
| 99 | on chat: | |
| 100 | - | send "&8- &7Youtube&8: &dArtzifyHD - &9http://bit.ly/2u3nmIh" |
| 100 | + | |
| 101 | - | send "&8- &7Download&8: &6https://www.spigotmc.org/resources/1-12x-frostchat-skript.44229/" |
| 101 | + | |
| 102 | cancel event | |
| 103 | broadcast "&9%player's displayname%&8: &f%message%" | |
| 104 | else: | |
| 105 | cancel event | |
| 106 | send "{@prefix} &8» &7You require the rank &7[&cADMINISTRATOR&7] to execute that command!"
| |
| 107 | else: | |
| 108 | cancel event | |
| 109 | broadcast "&9%player's displayname%&8: &f%message%" |