Improve talk and talknpc commands
- [ ] compatibility with old syntax is a must
- [ ]
talk <binID>- start a conversation (current syntax) - [ ]
talk /regexp/- start a conversation - [ ]
talk Name,talk "Long Name"- start a conversation - [ ]
talkwith several instructions (why not just whitespace-separated?) - [ ] some way to use NPC conversation codes for talking, maybe something like
talknpc <codes>?
Actually I have aliases set for n => talk cont, r0 => talk resp 0 etc. Maybe too extreme but who knows, maybe we should have something like this.
@farrainbow These are some really good ideas! I once made a super simple plugin to talk to NPCs based on their name, so I'm sure a lot of people would find this useful.
Would talk Name support partial matches names? Or would you need to use talk /regexp/?
Example use case: talk kafra
Would talk Name support partial matches names? Or would you need to use talk /regexp/?
I think it's better to only exactly match the full name if no regexp is provided. If you want an alias or macro for talking with any Kafra, you can just make an regexp for that (/^Kafra/). When typing commands manually, there already is (or should be) autocompletion for names, so it's not an issue.
Autocomplete for NPC names would be very helpful! :+1:
It definitely works, in Unix and Wx interface, for player names, so if it doesn't work for NPCs, we can add that easily.
So, are we up for tis?