can someone help me fix this snippet i've tried fixing it but when i use it, nothing happenes /ban: you are not on a channel (line 109, remote.ini) that is my error, please help
on :text:!tkb:: {
if ($nick ishop $chan || $nick isop $chan) {
%time = $calc($2 60)
.ban -k %time $3 2
.timer- $+ $3 1 %time .ban -r $3 2
}
}