Need help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Hexa

Member
Jan 21, 2018
11
0
0
25
I've been using an xkmbg skript. Basically a chat moderation panel.
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
n8rkj4
 
Status
Not open for further replies.