Kick revenge, if some one kick u the remote kick join and kick hem back :)
on *:KICK:#:{
if ($knick == $me) {
echo $active $timestamp 0,3 $+ $nick $+ kick u from $+ $chan $+ . Crason: $1-
set %hbo $chan
set %fox $nick
timerkik 0 3 /join %hbo
}
}
on *:join:#:{
if ($me isop %hbo) {
if (%fox ison %hbo) {
kick %hbo %fox Dumn dont kick me from %hbo
unset %hbo
unset %fox
timerkik off
}
}
}
See what I don't get is these codes are huge
on *:kick:#: { if ($knick == Your_Nick) {
ban $chan $nick
kick $chan $nick REVENGE KICK! } }
Really small even the ban bit is in there... So why add all the extra stuff (holy gay censor) that is not needed.. Sorry for the post like this. I have tried to ask little questions other places but nothing has been said.
If you really want to **** up the person who kicked you, use raw server commands:
{ raw JOIN $chan $crlf KICK $chan $nick $crlf mode $chan +b $address($nick,2) }
that right there will excecute 3 commands at once in one line, sent by one tcp packet of info. the commands will be performed in order and immediately, while commands in normal msl format take slightly more time.
Dumn dont kick me from $chan 'Dymn' is just an unneeded typo.
I always thought mirc wouldn't rememer who kicked you out of channel. Upon returning, the revenge kick usually becomes null. Try this one:
on @!*:KICK:#: {
if ($knick == $me) {
var -g %x $nick
join $chan
}
}
on me:*:JOIN:#: {
if ($me !isop $chan) { cs op $chan $v1 }
$iif(%x !ison $chan,mode $chan -o $v1,return)
kick $chan %x Don't kick me! | unset %x
}
napa 182,
ur suggested kick is this one right?
on @*:kick:#:{
if ($knick == $me) {
echo $active $timestamp 0,3 $nick kicked u from $chan $+ . Crason: $1-
join $chan
kick $chan $nick Dumn dont kick me from $chan
}
}
I test it and I run it. I observed that, if some operator kick me out of purpose, the action will be is (ChanServ: #channelname - ME has deopped YOU) if im in the auto join when kick. and it never trigger the kick revenge.
my question is,
where is the line that saying, (Dumn dont kick me from $chan)?
umm maybe u get banned after kick too .. if ur server support a chanserv u can do
on @*:Kick:#: {
if ($kncik == $me) {
echo $active $timestamp 0,3 $nick kicked u from $chan $+ . Crason: $1-
cs unban $chan $me | join $chan | cs deop $chan $nick | cs deprotect $chan $nick
kick $chan $nick Dont Kick Me Silly >:P~~
}
}