Haven't tested it, but here's a possible solution

October 31, 2008 12:57PM
Change the trigger that lists the affects to an alias and call the alias at the end of the the trigger that checks your affects


#CLASS {General - Bard Affects}
#CLASS 0
#CLASS {General - Bard Affects|Affects}
#VAR DesiredAffects {Song: 'anthem of resistance'|Song: 'canticle of the gods'|Song: 'charismatic prelude'|Spell: 'detect invis'|Song: 'battaglia'|Song: 'chant of resilience'|Song: 'bagatelle of bravado'}
#VAR MissingAffects {Song: 'anthem of resistance'|Song: 'canticle of the gods'|Song: 'charismatic prelude'|Spell: 'detect invis'|Song: 'battaglia'|Song: 'chant of resilience'|Song: 'bagatelle of bravado'}
#TRIGGER {You are affected by:} {
#T+ AffChecker
#VAR MissingAffects @DesiredAffects
showaffects
} "" {disable}
#CLASS 0
#CLASS {General - Bard Affects|Affects|Affchecker}
#ALIAS showaffects {
#T- AffChecker
#SA You are missing:
#FO @MissingAffects {#SA %i}
#SA
} "" {disable}
#TRIGGER {^Song: 'charismatic prelude'} {#DELI MissingAffects "Song: 'charismatic prelude'"} "" {disable}
#TRIGGER {^Song: 'canticle of the gods'} {#DELI MissingAffects "Song: 'canticle of the gods'"} "" {disable}
#TRIGGER {^Song: 'chant of resilience'} {#DELI MissingAffects "Song: 'chant of resilience'"} "" {disable}
#TRIGGER {^Spell: 'detect invis'} {#DELI MissingAffects "Spell: 'detect invis'"} "" {disable}
#TRIGGER {^Song: 'battaglia'} {#DELI MissingAffects "Song: 'battaglia'"} "" {disable}
#TRIGGER {^Song: 'anthem of resistance'} {#DELI MissingAffects "Song: 'anthem of resistance'"} "" {disable}
#TRIGGER {^Song: 'bagatelle of bravado'} {#DELI MissingAffects "Song: 'bagatelle of bravado'"} "" {disable}
#CLASS 0
Subject Author Posted

A mess

The Baron October 13, 2008 01:46PM

Haven't tested it, but here's a possible solution

Dave October 31, 2008 12:57PM

I thought ^$ was regular expression for matching blank lines

Inquisitor October 30, 2008 09:31PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 124
Record Number of Users: 5 November 04, 2022
Record Number of Guests: 358 August 31, 2022