Skip to content
General IRCd

Revenge Kick Problem

A TG007 community discussion started by Rashed.

Discussion 4 posts
Page 1 of 1
Open
Topic #16251 · 4 published posts · 1,533 views
#revenge on

on *:KICK:#: {

if ($knick == $me) && ($nick != $me) && ($level($+(*!*, $Ial($nick).addr)) == level7) { halt }

{

join $chan

access # add owner $Ial($me).addr 15

access $chan delete owner $address($opnick,1)

access # add deny $Ial($nick).addr 15 : Revenge

.raw kick $chan $nick >>>>Revenge<<<<

}

}



this code work for any kick if any op kick any one , the op got kicked then the bot kick itself

whats the wrong


I also want to check the access commands to work

Note : Buzzen server

Ok i try to modify the code and it is working 100% except one issue

if the bot got banned , rejoin the room kick the person who bans with revenge

but : The ban of the bot appears in Access how to clear it in the same following code

 

 

#revenge on
on *:KICK:#: {
if ($nick == $me) || ($level($+(*!*, $Ial($nick).addr)) == level7) { halt }
mode $me +q {
access # add owner $ial($me).addr 0 : Rashed Script
access # delete owner $address($nick,1)
access # add deny $address($nick,1) 5 : Revenge
kick $nick >>>>Revenge<<<<
join $chan
}
}

revenge kick is largely a waste of time on buzzen. A room owner should set their main script as superowner which can not be kicked by other ops. From there you could create a protected list. If someone on your protected list was kicked you could then take action on that user.

Get information about ircWx here

Yes thats right