/tp <player> how to use in customcommands!

Discussion in 'Bukkit Help' started by TheMrLoL, Apr 18, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    TheMrLoL

    Best developer or other in this forums today i have a special question for me.
    As you all know when you use /tp you can choose like: /tp User123 or a targeted player
    my problem is that i don't know how iam able to configure this in skript.

    This is how i would make the similiar command:

    Code:
    command /vanish <player>:
           permission: idk.tp
           trigger:
                apply invisibility 2 to the player for 9999 minutes
                message "You are invisible to other players now!"
    My problem is that this doesn't work for me when i'm trying to do this:
    /vanish user123 it says
    + When iam doing this <player>: an error corrupts!
    Correct usage: /vanish
    This is very important for my coding especially for making customcommands.
    Thanks for the help!
     
    Last edited by a moderator: Apr 18, 2017
  2. Offline

    timtower Administrator Administrator Moderator

    Moved to Bukkit help
     
Thread Status:
Not open for further replies.

Share This Page