Both of those errors are from this line
.raw kick %s.chan $nick $+(:,$readini($keke,options,message)) $+ $cr $+ ban %s.chan $nick $mask($fulladdress,2)
"No such channel" - Apparently you don't have %s.chan defined.
"Unknown command" - /ban is a mIRC command, not an IRCd command.
Replace both these lines
.raw kick $chan $nick $+(:,$readini($keke,options,message)) $+ $cr $+ mode $chan +b $mask($fulladdress,2)
.timerswearunban 1 $readini($keke,options,secs) mode $chan -b $mask($fulladdress,2)
with this line
ban $+(-ku,$iif($readini($keke,options,secs),$v1,600)) #CHANNEL $nick 2 $readini($keke,options,message
but first change "#CHANNEL" to the channel you want the user kicked from.
FWIW though, I think that's a pretty awful script,
WAY too many $readini's IMHO.
Edit:
This replacement match_text alias will cut down on some of the file accesses...
alias -l match_text {
var %i = 1,%a = $readini($keke,swear,words)
while ($gettok(%a,%i,44)) {
var %swear = $+(*,$replace($v1,$chr(160),$chr(32)),*)
if ($wildtok($1-,%swear,1,44)) { return $true }
inc %i
}
}