Really need a little help with that...
The bot should be able to strip all bold (\002) and color (\003xxx) from a variable...
Pls help me
Thx in advance !
tff2
Code: Select all
proc ctrl:filter {str} {
regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str
return $str
}