What did you set in your eggdrop.conf file at net-type ? I think the eggdrop has some built-in functionality to recognize some special modes, but not 100% sure if would work with what you got so you have to test some stuff on your own and reply back with results. If you got the .tcl command enabled ...
if {[string match -nocase *guest* $nick2]} return set match 0 foreach i $bnick { if {[string match -nocase *$i* $nick]} { incr match set badpart $i break } } if {$match} { putquick "MODE $chan +b *$badpart*!*@*" putquick "KICK $chan $nick :$kickreason" } I missed to point out th...
I take it this piece of code is quite old and was aimed to work with previous versions of TCL library, but since TCL is at 8.6 (at least in my Debian server) should adapt every piece of code you are using to take advantage of what it has to offer. Anyway.. if {(([lsearch -exact [string tolower $bcha...
Anything is possible as long as you give it the source to read the news from, meaning a website or something, to get them from there to your channel. Got any links or something?
@CrazyCat Ah, I see, in that case just replace it instead of removing and adding it again: proc add:spam {nick chan} { global spamlist set match 0 set now [clock seconds] if {[info exists spamlist($chan)]} { putserv "PRIVMSG $chan :spamlist exists for $chan" set pos [lsearch -nocase [dict ...
Good catch on that string tolower $chan as this could have caused some issues. Like I previously mentioned, should consider adding a nick change function and something for a bit of house keeping just in case something doesn't work as should and you end up with a big array stored in memory with a bun...
Instead of using the spamlist($chan,$nick) time format I would go with per channel format like spamlist($chan) {nick time} cos is easier to store and most important to maintain the list. So, with this in mind instead of: set ::spamlist($chan,$nick) [unixtime] would become: lappend spamlist($chan) [l...
Opening the link you mentioned in Firefox on Windows gives me a {status: "fail"} reply, but if where to use the same curl in Linux it works just fine, meaning getting the same result.
I used the link in the code with a random IP, then went on the website and tried the examples they give in the documentation page and i got the error I mentioned above. I concluded at the time it's a error on their side since I wasn't the only one that was apparently getting that error. Anyway...
Their API isn't working properly for some reason as i get this JSON answer: {"status":"fail","message":"SSL unavailable for this endpoint, order a key at https://members.ip-api.com/"} So, you got two options: 1. contact them and ask why the free plan isn't wor...