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
}
}
@SReject : this ? on :TEXT:!tkb ? ?:#:{
if ($nick ishop $chan || $nick isop $chan) {
.ban -ku $+ $calc($2 60) $chan $3 2 Requested Kick Ban
}
} doesn't seem to be working right
@SReject all i want is a proper !tkb command like the irc bots have. something similar. and that have the reason option
try changing $chan to #