Open OliverLSanz opened 10 months ago
Option A: Listed items should not exist. Takable items are the only ones listed. Downside: Lazy builders may not like this.
Option B: Everything stays as it is.
I'm taking B.
textto '
I will change it to: verb argument one - argument two
I could write a smart algorithm to handle most of the cases, but probably it will be future work:
string = "user name message to send"
n = 0
do:
n = n + 1
x = first n words of string
y = rest of the string
exact = user name whose name is x if there is one, otherwise retain the previous value of exact
options = user names that start with the word x followed by a whitespace but have more text in them.
if exact and not options:
result = exact
if not exact and not options:
error, there is no user with that name
while not result
This would require: