If I do a string length on that, that returns the total count of characters including the hex values and such. Is there any way to only only get a length of printable characters including the subst value of $botnick.
#In eggdrop 1.6.17 and later, you can use:
set text [stripcodes bcruag $text]
#If you want to count spaces as characters
set textlen [string length $text]
#If you don't want to count spaces as characters
set textlen [string length [string map {" " ""} $text]]
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================