Originally Posted by
dereks
This is awesome. I can't wait for more autosound triggers to be coded in a future community add on. I might give it a shot some day but no time now and no prior extension experience.
However, I was wondering if there was a way this could be coded to avoid the dependency on the system events and instead monitor the chat dialog. If it could use chat as an autotrigger it would be infinitely extendable without ever changing any code and would be ruleset independent I think.
For example, anytime some does slashing damage it shows up in the chat box as part of the rolls. And slashing virtually never appears in chat outside of that.
So if you could set up autotrigger of [When "slashing" appears in chat area], then you could set up a sound for slashing damage.
Or [When "cure wounds" appears in chat area"] play cure wounds sound.
Or [when "Fireball" appears in chat area] play fireball sound.
This would be super powerful and if it works for 1 thing, it would work for infinite things. These of course would not be ";learned" the GM would have to enter them in manually, but I think that would be completely fine since it could be as simple as just typing in what text string you want it to watch for.
But again, I have no idea if the code base would allow for this sort of thing.