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 

Request: Blacklist

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


Joined: 11 Jan 2014
Posts: 13

PostPosted: Tue Jan 14, 2014 4:56 pm    Post subject: Request: Blacklist Reply with quote

Hello Egg members.

Info for what i need and searching for:

I want a tcl mostly for akicks. If it is possible to add users to the bot via MSG commands or public commands. When the user with flags type to bot the command for akick then the $nick will be banned from the channel every time that it will joining the channel. Something like Chanserv akick but from the bot. Of course the bot can show the blacklist via a command.

Something like that:

Code:
/msg BOT !adduser nick flags
/msg BOT !deluser nick
/msg BOT !listusers
/msg BOT !blacklist
/msg BOT !remkline (<-example) ID
Public Commands:
!kline (<-example) nick Reason


Regards,
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Thu Jan 16, 2014 11:11 am    Post subject: Reply with quote

I have a couple of different scripts, but both do 2 of the things you wanted. First, there's the User management part, found Here and the Ban Management found Here
For User Management, you will have to login via DCC/telnet, and type
Code:
.-user handle
to remove global operators and above, but it gives you the ability (as a chanowner), to delsop/delaop/delaov.

Sometimes it's quicker to have seperate TCL files, than 1 big bloated file. TCL is still pretty fast, regardless, but I like to split mine up for more control.
_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
SoUkSoU
Voice


Joined: 11 Jan 2014
Posts: 13

PostPosted: Thu Jan 16, 2014 1:33 pm    Post subject: Ban Moderation Reply with quote

At the second tcl " Ban Moderation " when i add a ban is like akick ?

Example if i add a ban and then someone remove it and he will rejoin again he will be banned again ?

Sorry for my bad english .
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Fri Jan 17, 2014 2:06 am    Post subject: Re: Ban Moderation Reply with quote

SoUkSoU wrote:
At the second tcl " Ban Moderation " when i add a ban is like akick ?

Example if i add a ban and then someone remove it and he will rejoin again he will be banned again ?

Sorry for my bad english .


Yes, the addban is for a permanent channel ban, while gban is for a global ban. These bans are always perm, until you use the delban or delgban commands.
_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
SoUkSoU
Voice


Joined: 11 Jan 2014
Posts: 13

PostPosted: Fri Jan 17, 2014 11:59 am    Post subject: Error Reply with quote

Well im getting this when im trying to !addban


Code:
[08:58:37] Tcl error [banint:pub]: wrong # args: no script following "[isban $banmask $chan] && ![regexp c [getchanmode $chan]]" argument
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sat Jan 18, 2014 7:54 pm    Post subject: Re: Error Reply with quote

Very strange, I've never had this error and many other people use this script without complication. All I can think is that you don't have TCL installed properly.

Are you typing the command properly also?
example:
Code:
!addban *!*@banmask.etc reason-for-ban

which would look like:
Code:
!addban *!*@123.456.789.10 I don't want you joining my channel!! Go away!!


If it still fails, after you've typed the command properly, then try installing TCL on the server properly, or have the admin install it for you.
Required TCL packages are as follows:
Code:
tcl8.4 tcl8.4-dev tcl8.5 tcl8.5-dev tcllib
(AND, if you want to run any 1.8/1.9 bots, or need the bot to access HTTPS pages, you may also want
Code:
tcl-tls
package installed).
_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Jan 20, 2014 10:23 am    Post subject: Re: Error Reply with quote

Get_A_Fix wrote:

...
All I can think is that you don't have TCL installed properly.
...


That reminds me.
I've had it happen that I didn't notice a line wrap as I copy-n-pasted. (Not with this particular script of yours, but with others of mine)

Because your script(s) were posted in a forum, I cannot help but wonder if this is what has happened.
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Mon Jan 20, 2014 9:02 pm    Post subject: Re: Error Reply with quote

hmm, very possible, willyw. I have set it up so that shouldn't be a problem, but I guess it also depends a lot on the editor that is being used to paste into. No one else that has copied this script has had the same problem, which was why I thought the user may not have any *-dev packages, or needed 8.5 installed.

SoUkSoU, go through the script, line per line, see if there are any breaks in the code that need to be fixed. Hopefully that's all that's wrong with it, heh.
_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
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