Rashed Posted January 5, 2016 Report Share Posted January 5, 2016 #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 Link to comment Share on other sites More sharing options...
Rashed Posted January 5, 2016 Author Report Share Posted January 5, 2016 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 } } Link to comment Share on other sites More sharing options...
err0r Posted January 6, 2016 Report Share Posted January 6, 2016 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. Link to comment Share on other sites More sharing options...
Rashed Posted January 6, 2016 Author Report Share Posted January 6, 2016 Yes thats right Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now