I've been using an xkmbg skript. Basically a chat moderation panel.
Here's the code;
The error I get is;
http://prntscr.com/n8rkj4
Here's the code;
Code:
on chat:
cancel event
loop all players:
if loop-players has the permission "xkmbg.gor":
send json of "&8&l[" then "&cX" tooltip "&c&lIstatistik" run "/stat %player%" then "&3K" tooltip "&3&lOyundanAt" run "/kick %player%" then "&eT" tooltip "&e&lSureliSusturma" run "/mute %player% 10m" then "&2M" tooltip "&2&lSusturma" run "/mute %player%" then "&6T" tooltip "&6&lSureliBan" run "/tempban %player% 24h" then "&4B" tooltip "&4&lBan" run "/ban %player%" then "&bE" tooltip "&b&lIsinlan" run "/tp %player%" then "&8]" then "%player's display name%&8: &r%message%" to loop-player
else:
send "%player's display name%&8: &r%message%"
The error I get is;
http://prntscr.com/n8rkj4