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 

duplicate bans remover
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
caesar
Ass Kicker


Joined: 14 Oct 2001
Posts: 3469
Location: Area 51

PostPosted: Tue Jan 30, 2018 9:28 am    Post subject: Reply with quote

So, in the post the bans you mentioned above are in Spike's version? Mind doing the same with the one I suggested with the latest changes?

I don't have much time right now to test stuff out right now.
_________________
You may say anything about me, but at least don't misspell my name. xD
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 541
Location: Tennessee, USA

PostPosted: Tue Jan 30, 2018 9:40 am    Post subject: Reply with quote

It is worth noting, the ban that does not seem to be removed, is the 15th and last ban set in the list.

My bet is that the server is only really accepting 14 mode changes at a time, and the last ban is Not actually set.

Then the script removes the 14 matching bans:)
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
Back to top
View user's profile Send private message Visit poster's website
simo
Master


Joined: 22 Mar 2015
Posts: 245

PostPosted: Tue Jan 30, 2018 11:48 am    Post subject: Reply with quote

the server accepts 15 mode settings per line actually

i was just wondering why doesnt it remove all matching duplicates regardless

perhaps maybe using stacked per 15

i also tried caesars it only seems to remove 2 or 3 from 30 and also if using 15
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 541
Location: Tennessee, USA

PostPosted: Tue Jan 30, 2018 2:13 pm    Post subject: Reply with quote

Please try it with the setting of 14 bans at one time, both times it seems to ignore the 15th.

Please test my theory by starting with an empty channel ban list and adding no more than 14 bans at a time.

There is no other good reason it would always remove the 14 and not a 15th, if it existed in the channel ban list.

It would help if you would let me or caesar see this script work, share your channel and network (feel free to private message that info to me).
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
Back to top
View user's profile Send private message Visit poster's website
simo
Master


Joined: 22 Mar 2015
Posts: 245

PostPosted: Tue Jan 30, 2018 3:12 pm    Post subject: Reply with quote

i tested with 14 bans it seemed to have lifted them all

first i added *!*@*.ip

than added

+bbbbbbbbbbbbbb *!*@RifSytes-o11.387.29.04.IP *!*@RifSytes-nvb.556.35.86.IP *!*@RifSytes-82g.190.68.53.IP *!*@RifSytes-a55.957.51.59.IP *!*@RifSytes-48k.337.61.92.IP *!*@RifSytes-f35.133.11.50.IP *!*@RifSytes-q27.186.99.12.IP *!*@RifSytes-619.596.86.72.IP *!*@RifSytes-mb0.415.32.86.IP *!*@RifSytes-x1l.677.14.90.IP *!*@RifSytes-fkw.580.12.02.IP *!*@RifSytes-ef3.338.14.84.IP *!*@RifSytes-pc2.135.01.63.IP *!*@RifSytes-ohd.781.33.90.IP

it removed them all
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 245

PostPosted: Tue Jan 30, 2018 5:25 pm    Post subject: Reply with quote

did some more testing seems all fine now

i would like to thank pixelz , spike and ceaser for all input and work

much apreciated as always as this is all volunteer work

im sure this code will benefit many

tnx again.
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 245

PostPosted: Thu Feb 15, 2018 8:01 pm    Post subject: Reply with quote

ive come across something weird when setting these bans somehow it removes 3 while they arent duplicates

Quote:

* Cappuccino sets mode: +bbbbbbbbbbbbbbb *`*!*@* *|*!*@* *-*!*@* *_*!*@* *0*!*@* *1*!*@* *2*!*@* *3*!*@* *4*!*@* *5*!*@* *6*!*@* *7*!*@* *8*!*@* *9*!*@* *[*!*@*
* Cappuccino sets mode: +bbbbb *]*!*@* *{*!*@* *}*!*@* *\*!*@* *^*!*@*
* Cappuccino sets mode: -bbb *[*!*@* *]*!*@* *|*!*@*
Back to top
View user's profile Send private message
caesar
Ass Kicker


Joined: 14 Oct 2001
Posts: 3469
Location: Area 51

PostPosted: Fri Feb 16, 2018 3:03 am    Post subject: Reply with quote

Here's your answer:
Code:

.tcl matchaddr *\{*!*@* *\[*!*@*
Tcl: 1
.tcl matchaddr *\]*!*@* *\}*!*@*
Tcl: 1

The matchaddr isn't as infallible after all. Smile
_________________
You may say anything about me, but at least don't misspell my name. xD
Back to top
View user's profile Send private message
simo
Master


Joined: 22 Mar 2015
Posts: 245

PostPosted: Sat Feb 17, 2018 2:02 pm    Post subject: Reply with quote

hm ok
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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