In your alias bad_words_list...

if $numtok(%badwords,32) + $len(%badwords) > 900 <~~~ This line requires the use of the $calc identifier, it will not add without it.

if ($calc($numtok(%badwords,32) + $len(%badwords)) > 900)


Scripto ---- Life is about the relationships. The correct code being: $replace($them,$you,$me)