Maybe...well I havent done it...but think of this...
If U send the text through a dialog,
lbAdd [idc, text] ....._index = lbAdd [101, "global,group,side or vehiclechat text"]
and then check the color with
lbColor [idc, _index]
Depending the result U can then decide what chat was used.
The standard colors of global-group-side-vehicle chat can be found in the config I guess..
Maybe U can use a dialog who is already defined in Resource.bin...
Donno,will do some testing.