Skript Prefix

  • 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.

TheJasonPlays

New Member
Nov 8, 2018
5
0
1
22
In skript you can view skript commands like skript:tab < Like u press tab and shows you all the commands

Is there a way you can change the prefix to like test:tab < with the exact same thing as skript:[tab]
 
Last edited:
Let's see if I understood. What you want is that by placing the /skript command, and before pressing the "ENTER" key, press the "TABULATOR" key, do all the arguments of the skript plugin appear?
 
try with:
code_language.skript:
on chat tab complete:

Event, or try this:

code_language.skript:
On packet:
    Event string is “PacketPlayOutTabComplete”:
but as I read, it's only for version 1.9. I do not know, try it anyway.
 
try with:
code_language.skript:
on chat tab complete:

Event, or try this:

code_language.skript:
On packet:
    Event string is “PacketPlayOutTabComplete”:
but as I read, it's only for version 1.9. I do not know, try it anyway.
Addons?
 
on tab complete:
event-string is "/skript:":
send "&7Nonono"
cancel event

That works but how do i change it to test: and it shows all skript commands
Hmm, the way i would do it would be something like this:
code_language.skript:
on tab complete:
    event-string is "/skript":
        add "Reload" to {_list::*}
        add "info" to {_list::*}
        # And in this way with all the arguments of the skript. #
        loop {_list::*}
            add loop-value to completions
 
Status
Not open for further replies.