I have added shortcut keys for every city in the form of "hi <city> yes" and it works fine for most cities. I just need to press the key 3 times and I travel by boat/carpet to the other city.
However, there are a few instances where it doesn't work. For exemple, if you are in the Edron's carpet and say "hi zao yes", the NPC will keep repeating "Pino: Do you seek a ride to Zao, near Farmine, for 50 gold?" forever.
So, my question is: how does this mechanic of words works and why it doesn't work in some cases?