I'm not entirely sure if this should be a feature request. Somebody please correct me if there is a way to do this already. Anyway, I was going to write a snippet that didn't change the color of a channel's switchbar button if the a message came from certain nicknames. However, I found that the color of the button before the event triggered, and so for any on TEXT event $window($target).sbcolor returned the post-event color.
For example... I have checked #channel recently, so $window(#channel).sbcolor is $null. In an on TEXT event for that channel, $window(#channel).sbcolor is "message". What I was suggesting would either wait until TEXT events are done to change the sbcolor, or to have some $window .prop return the pre-event color.
I have not checked this for other events such as ACTION, NOTICE, MODE, JOIN, etc...