Alex wrote:Internally, they are both the same thing. Commands are the more basic type. They simply match a pattern, then fill in variables and run a script.
This is in fact all you really need - and the design is similar to previous versions of Quest. Up until Quest 4.0, there were no verbs at all.
However, a common pattern emerged. Generally when adding a command, most people wanted to be able to do something like "eat #object#", "drink #object#", "throw #object#", with most objects not doing anything, and a few objects having their own implementation. This was a pain to implement over and over again, as your command would have to see if the object was drinkable, throwable, whatever, then run a particular script if it was, and print a sensible message if it wasn't.
So, Quest 4.0 introduced verbs, and a similar design exists in Quest 5.0. It makes it easy to add commands of this form, as you can just add a verb to one object, and the editor will automatically create a command for you so that performing the same action on other objects gives a sensible response.
So commands are global and verbs are local? I.E verbs are for a specific object and comands are things you can do any old time?