Well, if your sending it from the client kicked, make sure the channel isn't set to "+n".
I'd change the script though...too messy for something so simple.
;To be placed in the bot
on 1:kick:#spam,#bots:{
if $knick == $me { ;If the one kicked is the bot.
j $chan ;Rejoins.
timer 1 2 msg $chan chanserv, op ;After rejoin, op.
timer 1 4 kick $chan $nick Don't kick bek! ;-""-, kick.
}
elseif $knick == bekarfel { ;If the one kicked is you.
kick $chan $nick Don't kick bek! ;kicking the offender.
}
}
What you did with the vars and an odd $kick, isn't needed for something so simple.
If this doesn't work with your network, let me know.
(obviously, don't add the stuff after the ";"s to your code...)
ziv.