Script Library
Even though one cannot really script Kenshi, here a list of links to few examples what things can be done with dialogue and other means.
Want to add? Go ahead, post a link to your page here.
How to make a three person conversation including player
Follow Player, how to make a NPC to follow a player character while speaking.
The other option is to use a contract and set the NPC to follow mission target. But there are some caveats with it; a) to make the NPC to stop follow temporarily the contract needs to end (and then start again) and b) it gets a bit complicated if you want the character to fe. flee randomly.
Scripting AKA How to make a multi-threaded conversation, includes unlocking/locking conversations
A Workaround How To Give Maps, Armor or Weapons Through Dialogue
A Workaround How to Make Weapons Lootable by NPCs