Ask/Tell command not working in Q5.8
jjwildling
04 Jan 2020, 19:24Hi, I'm new and I started using TAQ just recently.
I'm using the Build 5.8.6836.13995 and I'm using ES(espanol.aslx) library as language.
I've set On the option of Ask/Tell on the game settings, but still the commands ask("preguntar a"; etc) and tell ("decir a"; etc) aren't working, sending back an "UnrecognisedCommand" error.
Any ideas?
mrangel
04 Jan 2020, 21:42What's the exact command you are typing? If you're getting "Unrecognised Command", it could be that there's something wrong with the pattern.
From the language file, it looks like the 'ask' command should be any one of:
pregunta a
name of an objectsobre
any textpregunta a
name of an objectpor
any textpregunta a
name of an objectacerca de
any textpregunte a
name of an objectsobre
any textpregunte a
name of an objectpor
any textpregunte a
name of an objectacerca de
any textpreguntar a
name of an objectsobre
any textpreguntar a
name of an objectpor
any textpreguntar a
name of an objectacerca de
any textpreguntarle a
name of an objectsobre
any textpreguntarle a
name of an objectpor
any textpreguntarle a
name of an objectsobre
any textpreguntale a
name of an objectpor
any textpreguntale a
name of an objectacerca de
any textpreguntale a
name of an objectacerca de
any textpregúntale a
name of an objectsobre
any textpregúntale a
name of an objectpor
any textpregúntale a
name of an objectacerca de
any text
While the 'tell' command would be one of:
habla
object namesobre
texthable
object namesobre
texthablale
object namesobre
texthablele
object namesobre
text
jjwildling
05 Jan 2020, 00:18Thank you.
I noticed that in the code of the language template file were missing some "|" to separate the commands.
I won't mind to upload an alternative lang_es.aslx for a more neutral spanish with the code fixed, but those are the only errors I found at the moment. I guess the staff will solve it or that anyone with the same problems will be able to fix those errors by looking at the code.
jjwildling
05 Jan 2020, 00:19[double post, sorry]
mrangel
05 Jan 2020, 01:30I completely missed that.
It would probably be easier to read if that pattern were ^(pregunta|pregunte|preguntar|preguntarle|preguntale|pregúntale) a (?<object>.*?) (sobre|por|acerca de) (?<text>.*)$
, to avoid repeating the parts that are the same in all of them.
Or maybe ^preg[uú]nt(a|e|ar|arle|ale) a (?<object>.*?) (sobre|por|acerca de) (?<text>.*)$
(though that matches a few more variations that might not be real words)
or even ^preg[uú]nt[arle]* a (?<object>.*?) (sobre|por|acerca de) (?<text>.*)$
(which will match a whole bunch of non-words too; but I think players are unlikely to notice unless they type those