I made a function called "IsBashing()" which returns either a true, or false.
I made a trigger called Affliction.. The first trigger-line is, "You are afflicted with", and made the type a: begin of line substring.
The second trigger-line I made, "IsBashing()", with type of: Lua function
I then turned on multiline / AND Trigger (left line delta at 0, but I played with it for a bit- I don't know what it means).
So, I assumed that it would match 'You are afflicted with", then call "IsBashing()" - which would then return true or false. If true, it would continue my trigger chain, which holds.. epilepsy, paralysis, etc. If false, it would simply halt there.
However I cannot get this to work. If anyone could explain -how- if it's even possible, that'd be great. If not, if they could explain what the point of the Lua function option is, that would also be great.

Thanks.