This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

a questions please.

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

a questions please.

Post by mavericku »

i`m thinking at a script that does this :

on
cancel ban *!*@host on #channel
to do this as well
/msg x unban #channel *!*@host
is it possible?
Thanks

P.S. i don't want you to make the script .. just to tell me if is possible and to give me a hint .. where to start. :)
mavericku
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

what do you mean by "cancel ban"?
Have you ever read "The Manual"?
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

that was pasted from the partyline .. when a ban expires .

like :
(01:19:54) (|dr): [01:20] hubby: cancel ban *!*@RoomShells.users.undernet.org on #channel
mavericku
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

That message means the ban was canceled by a share bot... and there's no easy way to detect that event in a script.

If you had the ability to read raw botnet traffic (there's a patch to do that here: http://barkerjr.net/irc/eggdrop/patches/ , but I've no idea how/if it works), there would be no problem detecting it, but you'd still have no easy way to detect a local unban.

You could do it on an unpatched eggdrop by keeping a copy of the banlist in a variable and comparing your copy to the actual list repeatedly.
Have you ever read "The Manual"?
User avatar
mavericku
Halfop
Posts: 62
Joined: Sun Jun 12, 2005 11:32 pm
Location: somewhere in the world
Contact:

Post by mavericku »

ok, i think that is a big no . Thanks for your help.
mavericku
Post Reply