Tab Completions (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.7.0

Syntax

[skbee] tab completion[s] [(of|for) (last position|position %-number%)]

Description

Set the tab completions used in a tab complete event. You can specify which position in the command arguments also. You can also remove texts from tab completions.

Examples

on tab complete of "/mycommand":
	set tab completions for position 1 to "one", "two" and "three"
	set tab completions for position 2 to 1, 2 and 3
	set tab completions for position 3 to all players
	set tab completions for position 4 to (indexes of {blocks::*})

on tab complete:
	if event-string contains "/ver":
		remove "PermissionsEx" from tab completions

View source