#How to completely disable the correct usage?

1 messages · Page 1 of 1 (latest)

lament cobalt
#

have you tried to edit the lang file?

sleek lantern
#

Yes, but it still shows the Command when i leave it empty

gaunt garnet
#

then dont create a custom command from skript but build it yourself

gaunt garnet
#

I dont have an idea on how to get tab complete to work for the command itself

prisma sky
#

instead of making command arguments required (<text>), make them optional ([<text>]). Then you can do stuff like if arg 1 is not set, send "unknown argument!"

#

this way, the correct usage is never sent

gaunt garnet
#

Thats also a great idea

#

I forgot I always did that because I didnt even know [] made it optional

gaunt garnet
#

Get your argument as text

#

Parse it as player

#

If it failed parsing (null) send your custom error

#

Or not whatever

sleek lantern
#

there must be a way to disable it completely 😭

prisma sky
#

then replace player with offlineplayer (will still work if player is online)

gaunt garnet
#

Ok bro then just build your own command and not let skript do it