Alright, I had this script from long time ago. Got it off the boards. Used it with my bard. I did a copy/paste job into the class script of a new folder for a different class (different affects, obviously). I want it to work, but it keeps creating a looping trigger and I can't seem to fix it. Please help. Just trying to make an affects checker:
#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
} "" {disable}
#CLASS 0
#CLASS {General - Bard Affects|Affects|Affchecker}
#TRIGGER {^$} {
#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