These are the first skripts I made; they are free to use as long as you credit me for them.
75 lines
3.4 KiB
Plaintext
75 lines
3.4 KiB
Plaintext
#==============================================
|
|
# Chat Clear Plus
|
|
# Skript Made By TheTrouper#6969
|
|
# DO NOT DISTRIBUTE WITHOUT PREMISSION
|
|
# Copy#001
|
|
#==============================================
|
|
options:
|
|
# How long the chat clear will be (200 for Vanilla 1000 for Clients with longer scrolling)
|
|
Length: 1000
|
|
|
|
# Prefix
|
|
Prefix: &8[&5CC&b+&8]
|
|
|
|
# (true or false) swear filter state
|
|
Swear: true
|
|
|
|
# (true or false) spam filter state
|
|
Spam: true
|
|
|
|
# Notification Players
|
|
NotifPlayer: &b&lChat has been cleared %newline%&b&lProfanity is not allowed
|
|
|
|
# Notification Staff
|
|
NotifStaff: &2&l%player% &a&lCleared the chat
|
|
|
|
# Swears blocked (Can be bypassed VERY EASY) format moment
|
|
block: "fuck" or "fvck" or "fck" or "fuk" or "f*ck" or "bitch" or "b1tch" or "b*tch" or "b1ch" or "bish" or "b1sh" or "slut" or "hoe" or "h0e" or "shit" or "sh1t" or "sh*t" or "nigger" or "n1gger" or "n1gg3r" or "nigg3" or "nigg" or "niger" or "n1ger" or "n1gger" or "n1gga" or "n1gg@" or "nigg@" or "cum" or "semen" or "tits" or "titties" or "retard" or "gay" or "g@y" or "r3t@rd" or "ret@rd" or "r3tard" or "cream" or "balls" or "n1g" or "blackie" or "fuc" or "nega" or "negar" or "finger" or "suck" or "scum" or "sc@m" or "sc*m" or "fake" or "f@ke" or "minge" or "spaz" or "shag" or "pussy" or "1984" or "penis" or "p3n1s" or "pen1s" or "p3n1s"
|
|
|
|
command /cc:
|
|
aliases: /chatclear, /cchat
|
|
permission: chatclear.use
|
|
trigger:
|
|
loop {@Length} times:
|
|
send " " to all players where [input doesn't have permission "chatclear.use"]
|
|
send "." to all players where [input doesn't have permission "chatclear.use"]
|
|
send "&6&l&m------------------------------------" to all players
|
|
send "{@Prefix} {@NotifPlayer}" to all players where [input doesn't have permission "chatclear.use"]
|
|
send "{@Prefix} {@NotifStaff}" to all players where [input has permission "chatclear.use"]
|
|
send "&6&l&m------------------------------------" to all players
|
|
|
|
command /silentchatclear:
|
|
aliases: /scc, /schatclear, /silentcc
|
|
permission: chatclear.use
|
|
trigger:
|
|
loop 200 times:
|
|
send " " to player
|
|
send "{@Prefix} &a&lChat has been cleared for you only" to player
|
|
|
|
command /clearchatinfo:
|
|
trigger:
|
|
send "{@Prefix} &6&lVersion 1 of Chat Clear+ %newline%&b&lMade By TheTrouper##6969%newline%Contact if distributed%newline%&9&lCommands Avalible &a/chatclear (/cc) /silentchatclear (/scc)" to player
|
|
|
|
# Prototype for automute if bypassing other spam filters
|
|
on chat:
|
|
set {cm.%player%} to message
|
|
if {@Spam} is true:
|
|
if player does not have permission "clearchat.use":
|
|
if {lm.%player%} = message:
|
|
send "&c[Anti Spam] &a%player%&7: %message%" to all players where [input has permission "chatclear.use"]
|
|
cancel event
|
|
send "&c&lHEY! &r&7We do not tolorate spamming in chat. Please decrease your use of repeated messages. &lBypassing this in any capacity will get you muted"
|
|
else:
|
|
set {lm.%player%} to message
|
|
on chat:
|
|
set {cm.%player%} to message
|
|
if {@Swear} is true:
|
|
if player does not have permission "clearchat.use":
|
|
replace all " " in {cm.%player%} with ""
|
|
replace all "." in {cm.%player%} with ""
|
|
if {cm.%player%} contains {@block}:
|
|
send "&c[Antiswear Chat] &a%player%&7: %message%" to all players where [input has permission "chatclear.use"]
|
|
cancel event
|
|
send "&c&lHEY! &r&7We do not tolorate swearing in chat. Please decrease your use of profanity. &lBypassing this in any capacity will get you muted"
|
|
|