There's a script.. if someone does a massban (+b *!*@*) by X on UnderNet, removes access from that user, suspends the user that gave access to him & writes a note to the manager of the channel.. when you type /MSG $botnick NOTES $pass READ gives you something like this:
- 1. TAKEOVER (Feb 17 21:47): You had probably takeover atempt on #MkUndernet by X user DaniServa with 490 access (tried to remuser), which had access from X user Yokohama (tried to suspend for 240 hours).
It had already an option of when the bot is being kicked, so when the bot is kicked it will perform some action, so it should look something like this:
##
# .4. What kind of punishment should be applied? $chan will be the channel where the bot
# got kicked and the $kicker will be the username of the person that kicked it via X.
set action {SUSPEND $chan $kicker 1d 100}
What I have edited for you is, now the bot will also send a note to people who you mention the names in the .tcl file.. It willl remove the person who added the kicker, so you must add your bot at the highest level so it wont face any trouble while performing removing or suspending commands for more take a look at this:
# PUB : N/A
# MSG : N/A
# DCC : n|n .chanset Use .chanset to set what protections to active for the particular channel or not.
# Example: .chanset #mychan +xneed
# .chanset #otherchan -xneed
I know it can be done in dcc.. but how to make it on PUB ..
ThE-UnNaMeD wrote:# PUB : N/A
# MSG : N/A
# DCC : n|n .chanset Use .chanset to set what protections to active for the particular channel or not.
# Example: .chanset #mychan +xneed
# .chanset #otherchan -xneed
I know it can be done in dcc.. but how to make it on PUB ..