John Daniels   -  Jan 23, 2013

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
}
}

blackvenomm666  -  Jan 23, 2013

try changing $chan to #

blackvenomm666  -  Jan 23, 2013

also you forgot to add it to your .ban line should be .ban -k # or $chan $3 2. then for your timer you need to set it as .timer $+ $3 1 %timer.ban -r $chan $3

SReject  -  Jan 25, 2013
on *:TEXT:!tkb ?* ?*:#:{
  if ($nick ishop $chan || $nick isop $chan) {
    .ban -ku $+ $calc($2 * 60) $chan $3 2 Requested Kick Ban
  }
}
John Daniels  -  Jan 25, 2013

@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  -  Jan 25, 2013

Please note that you can't trigger "ON TEXT" events from the client they are installed on

John Daniels  -  Jan 25, 2013

@SReject all i want is a proper !tkb command like the irc bots have. something similar. and that have the reason option

Boondox  -  Jan 26, 2013

hey what is the code to have ur bot add u as an addmin in the user of the bot so i can use my scripts...

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.