Tab Completion Argument (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.7.0

Syntax

tab [complete] arg[ument](s|[(-| )]%number%)

Description

Get the argument or a list of all arguments in a tab complete event.

Examples

on tab complete of "/breakfast":
	set tab completions for position 1 to "toast", "eggs" and "waffles"
	if tab arg-1 = "toast":
		set tab completions for position 2 to "butter", "peanut_butter" and "jam"
	else if tab arg-1 = "eggs":
		set tab completions for position 2 to "sunny_side_up", "scrambled" and "over_easy"

set {_l::*} to tab args

View source