D
Deleted member 11521
Hey,
I wanted to set an custom tab complete for my /ban command to show the reasons. Therefore I wrote following code:
It should only show these reasons if the first argument is set but the reasons are also shown, when the first argument is not set.
There are no parsing errors.
Informations:
Skript Version: 2.2 (fixes V8b)
MC Version: 1.8.8
Addons: Skript, MundoSK, Skellett, SkQuery, skRayFall, skript-mirror, skript-ping-0.2, SkStuffe, TuSKe
Searched in docs? y
Searched in forums? y
Im sorry if my english is bad <3
~Paul
[doublepost=1592217978,1592150815][/doublepost]⬆
[doublepost=1592237559][/doublepost]⬆
[doublepost=1592314791][/doublepost]⬆
I wanted to set an custom tab complete for my /ban command to show the reasons. Therefore I wrote following code:
Code:
on tab completer for "/ban":
if argument at 1 is set:
add "Hacking" to suggestions
add "Alt" to suggestions
add "Teaming" to suggestions
add "Trolling" to suggestions
add "Targetting" to suggestions
add "Spawntrapping" to suggestions
add "Camping" to suggestions
add "Statsboosting" to suggestions
add "Ban-Umgehung" to suggestions
It should only show these reasons if the first argument is set but the reasons are also shown, when the first argument is not set.
There are no parsing errors.
Informations:
Skript Version: 2.2 (fixes V8b)
MC Version: 1.8.8
Addons: Skript, MundoSK, Skellett, SkQuery, skRayFall, skript-mirror, skript-ping-0.2, SkStuffe, TuSKe
Searched in docs? y
Searched in forums? y
Im sorry if my english is bad <3
~Paul
[doublepost=1592217978,1592150815][/doublepost]⬆
[doublepost=1592237559][/doublepost]⬆
[doublepost=1592314791][/doublepost]⬆