Skip to content

Tab completer Bug #14

@ChifuyuKR

Description

@ChifuyuKR

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.

  1. Create a command
  2. make "a on tab completer for "/command":"
  3. /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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions