Opcode: apply effect based on internal variable

I would like to request an opcode-based way to apply a given effect, like #177, to creatures that have a particular internal variable set to a particular value.
Thanks
Thanks
1
Comments
I've been told by Adarnis(sp) that using specifics can break some scripts (I believe that is what he said... I'll see if I can find the post)
Edit: this, though my plan was to primarily alter character specific through the clab. I don't know where specific is referenced, so I have no idea how it could break anything
And then there is the issue of the small range. The Specifics value is limited to values 0-255 and several of them are already used directly or indirectly by the games (especially in IWD:EE). A new field for identification purposes would indeed be useful.
Want a spell that has specific effects for drow that use scimitars? Yes.
Want an item that does extra damage to creatures with less wisdom than the wielder? Yes.
Want an anti-magic spell that has different effects based on the target's current protections? Oh my, yes.
Want a spell that causes the target to initiate dialogue, teleport to another area, or some other scripting action not available via spell? Yep.