By the way, I just fixed a bug for my autokick/autoban :
I was using this :
function onPlayerDeath(target_cn, actor_cn, gib, gun)
But the consequence is that target_cn isn't killed and lags (can't pick items).
I modified it like that :
In the onPlayerDeath handler, when I want to kick, I store the information in a table. In the lualoop handler, when the table isn't empty, I kick the cn stored in the table.