on join:
set join message to "&2[&4*&2]&4welcome &b%player%&4 to kiugetski's skyblock"
on quit:
set quit message to "&2[&4*&2]&4Good bye &b%player%"
on damage:
cancel event
command /chat [<text>] [<text>]:
aliases: tchat
trigger:
if player doesn't have permission "mute.admin":
message "&2[&4Error&2]&4you do not have access to that command" to player
stop trigger
if arg 1 is not set:
message "&2[&4Error&2]&4Unknown command!" to player
stop trigger
if arg 2 is not set:
message "&2[&4Error&2]&4Unknown command!" to player
if arg 1 is "clear":
loop 200 times:
broadcast ""
broadcast "&a&oThe chat have been removed by %player%"
if arg 1 is "mute":
if arg 2 is "on":
set {muteall.on} to true
broadcast "&c&oThe chat have been suspended by %player%"
if arg 2 is "off":
set {muteall.on} to false
broadcast "&b&oThe chat have been retored by %player%"
on chat:
if {muteall.on} is true:
if player doesn't have permission "chat.mute.bypass":
cancel event
message "&c&2Sorry, the chat is muted" to player
if message contain "<3":
replace every "<3" with "❤" in message