Now I'm actually making a game (well, a remake) rather than playing around with scripts, I've found a few little things to increase my productivity. Don't know if anyone has played with this before, or if there's a better way to do it, but I've been using the "verbs" tab to add string or script attributes to my objects.
Obviously, these "verbs" aren't really verbs. So to stop the player typing them in if they happen to have read the code, I've got a command with the pattern
^(?<text>goto|outer|weartype|index|batterylevel|onbatteryout|batterywarning)(\s+.*)?$, which just does
msg (text + " is not in my vocabulary.").
Is there a better way to do this?
(Besides using the initialise script, which gets kind of awkward when you have more than a few attributes to add)