What would be the best way to handle this scenario? I have a set of triggers that gag and parse a certain stretch of text under certain conditions. Let's say it gags a map as you move. These triggers come in a specific order and have different groups.
Now what happens if you don't want to gag that when the user uses a command to get it? Obviously it needs to be displayed, not gagged, but you still want the parsing to be done.
My solution right now involves taking a table of trigger labels and iterating over them to set/unset the gagging options at need. It seems klutzy to me, and I was wondering if there was a better way.
Now what happens if you don't want to gag that when the user uses a command to get it? Obviously it needs to be displayed, not gagged, but you still want the parsing to be done.
My solution right now involves taking a table of trigger labels and iterating over them to set/unset the gagging options at need. It seems klutzy to me, and I was wondering if there was a better way.