How do I add new lines to kick player due

  • 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.
Jan 28, 2018
4
0
0
21
Hello would like to know how to add new lines
Sorry my English is not very good
code_language.skript:
command /kick [<offline player>] [<text>]:
    trigger:
        if arg 1 is not set:
            message "&cCorrect command /kick <player> <reason>"
        else if arg 1 is set:
            set {_p} to "%arg 1%" parsed as offline player
            if {_p} is online:
                kick {_p} because of "%coloured arg 2%"
                add 1 to {gn.kicks.%player%}
                message "&eYou kicked the player &7%arg 1%"
                message "&eReason: &a%coloured arg 2%"
            else:
                message "&cError: this player is not on the server"
 
Status
Not open for further replies.