egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Anti TAKEOVER for UnderNet

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
ThE-UnNaMeD
Voice


Joined: 25 Nov 2007
Posts: 9
Location: Local Disc (C:)

PostPosted: Mon Feb 18, 2008 10:44 am    Post subject: Anti TAKEOVER for UnderNet Reply with quote

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).

Anyone knows what script is this?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Tue Feb 19, 2008 2:45 am    Post subject: Reply with quote

Ok I have modified xstuff by caesar.

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:

Code:
  ##
  # .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:

xstuff by caesar but modified

peace
iamdeath
_________________
|AmDeAtH @ Undernet


Death is only the *Beginning*...
Back to top
View user's profile Send private message Visit poster's website
ThE-UnNaMeD
Voice


Joined: 25 Nov 2007
Posts: 9
Location: Local Disc (C:)

PostPosted: Wed Feb 20, 2008 1:11 pm    Post subject: Reply with quote

Hope it works.. i'll test it later..
but i want to ask: how can I make a chanset command..?
like: !chanset #mychan +xneed ?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Wed Feb 20, 2008 1:54 pm    Post subject: Reply with quote

Code:
.chanset #channel +xneed


Should be done in DCC!...

peace
death.
_________________
|AmDeAtH @ Undernet


Death is only the *Beginning*...
Back to top
View user's profile Send private message Visit poster's website
ThE-UnNaMeD
Voice


Joined: 25 Nov 2007
Posts: 9
Location: Local Disc (C:)

PostPosted: Mon Feb 25, 2008 5:44 pm    Post subject: Reply with quote

# 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 .. Question
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Mon Feb 25, 2008 6:56 pm    Post subject: Reply with quote

There is no built-in command to for public "!chanset".
Back to top
View user's profile Send private message
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Mon Feb 25, 2008 11:54 pm    Post subject: Reply with quote

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 .. Question


Visit this Thread for more.

peace
death
_________________
|AmDeAtH @ Undernet


Death is only the *Beginning*...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber