Hi, i've been trying to create a 1day & 1week ban. But i think i've got some problems with the timer.
This is what i've got:
on admin:TEXT:.1day-ban*:#: {
mode # +b $address($2-,1)
kick # $2- ¬ Banned for 1 day ¬
timer 0 86400 mode # -b $address($2-,1)
}
on admin:TEXT:.1week-ban*:#: {
mode # +b $address($2-,1)
kick # $2- ¬ Banned for 1 week ¬
timer 0 604800 mode # -b $address($2-,1)
}
I figured out the seconds for 1 day & 1 week, But there's something wrong, cuz my bot already unbans the user after a second (3seconds...) ...