1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tab complete

Discussion in 'Skript' started by youri kelderman, Jul 18, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. youri kelderman

    youri kelderman New Member

    Joined:
    Feb 25, 2020
    Messages:
    5
    Likes Received:
    0
    Okay so I want tab complete to only show commands that I want, in my spigot.yml I set auto-tabcomplete to -1 to disable all of them, but how do I add certain commands to it that will show up? Like if you want /home it will show up in tab complete but /pl not
     
  2. FusionCore

    Supporter

    Joined:
    Apr 19, 2020
    Messages:
    44
    Likes Received:
    1
    I haven't tried it yet but you could see if this works? (Requires MundoSK)

    Code (Text):
    1. on tab complete:
    2.   set {_args::*} to split event-string at " "
    3.   if {_args::1} is "/":
    4.     delete completions
    5.     add "Whatever you want" to completions
     
Thread Status:
Not open for further replies.

Share This Page

Loading...