What I'm trying to accomplish isn't very difficult. The only limitation is my knowledge of how to utilize regular expressions. Example trigger text:
SpiderDrider the avatar of Lloth flies north.
I have two wild cards that I certainly need.. so here is my generic version:
* flies *.
%1 for the character name and %2 for the direction of travel
My problem is that after the character name they could have any number of other words identifying the title, but I only need the first word to be saved. In the example above it would be "SpiderDrider", however the extra text accompanying is "the avatar of Lloth." I need a way to weed out the additional words no matter how many there may be.
SpiderDrider the avatar of Lloth flies north.
I have two wild cards that I certainly need.. so here is my generic version:
* flies *.
%1 for the character name and %2 for the direction of travel
My problem is that after the character name they could have any number of other words identifying the title, but I only need the first word to be saved. In the example above it would be "SpiderDrider", however the extra text accompanying is "the avatar of Lloth." I need a way to weed out the additional words no matter how many there may be.