#Syntax

1 messages · Page 1 of 1 (latest)

heavy cobalt
#

How to detect if player typed does not follow the syntax, example in the mc if you put /tp and you didn't put the coordinates it errors, i want something like that.

flint path
#

just make it ur self so when he doesnt type whole syntax then show error

heavy cobalt
#

Im thinking of regex

cloud acorn
#

Then, use regex

heavy cobalt
#

Oh ye

#

I could use \s+.+

cloud acorn
#

Be careful with . (wildcard)

heavy cobalt
#

Ye thats fine