forked from RealGatt/skquery
-
Notifications
You must be signed in to change notification settings - Fork 20
Tab completer Bug #14
Copy link
Copy link
Open
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
Can't using a tab completer
Error (IG) : A tab completer cannot be assigned before the command is defined (blabla.sk line x : on tab competer for "/command":)
To Reproduce
Steps to reproduce the behavior if there are any.
- Create a command
- make "a on tab completer for "/command":"
- /sk reload
Information:
- Skript version: 2.2-dev32d (1.8) / 2.3.6 (1.13.2)
- Server software: PaperSpigot
- Server version: 1.8/1.13.2/1.14....
Additional context
Add any other context about the bug here.
We use a global skript made with monitoring files
The command is defined.
Exemple for a command with tab completer doesn't work :
command /srv <number>:
trigger:
if arg is not set:
send "&cVeuillez choisir le serveur de votre choix !"
wait 40 ticks
if arg is set:
if this server is not "srv%arg%":
test(player,"srv%arg%")
on tab completer for "/srv":
add "1" to completions
add "2" to completions
add "3" to completions
add "4" to completions
add "5" to completions
(For teleport to others servers of my bungeecord)
Reactions are currently unavailable