@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> Is there a writeini or write feature for tcl? because i looked through the entier manual and did not see one..
<1> wiki.tcl.tk
<2> =)
<3> >:)
<4> someone have a clue why this isn't working
<4> .chanset #ps3 +rblchk
<4> Error trying to set +rblchk for #ps3, invalid mode.
<4> the script is loaded
<5> that my rbl script?
<5> you did a: source scripts/rblchck.tcl in your conf and then rehashed your bot?
<5> that script sets 3 flags
<5> rblchck, rblmsgadmin, rblmsguser
<5> rblchk, rblmsgadmin, rblmsguser
<5> no c ;p
<4> right...
<4> i did that the flags for the .chanset seem to not be available though



<5> you rehashed?
<4> invalid mode
<4> yeah it's loaded correctly
<5> and you got the script from http://woodstock.anbcs.com/scripts/rblchk.tcl ??
<4> [21:28] rblchk v0.8 + eggrbl v0.6 by leprechau@EFnet loaded!
<4> hrm, i got the script from...
<4> http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1207
<5> lol how the hell did it get there
<4> i'll download the one from your link
<5> i never uploaded it there
<4> :P
<4> got it from a friend
<5> lol
<5> all my scripts i have done from time to time...well most of them anyways
<5> are at http://woodstock.anbcs.com/scripts/
<4> ok
<4> is it newer than 0.8?
<5> also make sure you scroll down to the second namespace...the eggdrop portion
<5> there are different settings there
<5> for the eggdrop portion of it
<5> bout halfway through the file
<4> hrm
<5> see em?
<4> yeah i believe so
<4> the second part thats commented out?
<5> there is a little block bit comments
<5> then some settings for hte eggdrop part
<5> like scores for kick/ban/warn/etc...
<5> where you want the admin messages sent
<5> etc...
<4> ic ic
<4> are the defaults ok?
<5> yeah should be
<5> variable adminname "#leprechau";
<5> prolly change that though
<5> to your nick or a private channel the bot is in
<4> so whut do rblmsguser and rblmsgadmin do?
<4> if it's not op'd in the channel it's supposed to be kicking does it still send an open proxy detection msg to the priv chan?
<6> if -> http://www.tcl.tk/man/tcl8.4/TclCmd/if.htm
<5> if it's not opped it will send a message to whatever admin target you pick
<5> saying if it wanted to kick or ban but that it couldn't cause it wasn't opped
<5> here is a notice that my bot sent to #leprechau
<5> [07:46:30] (@security): RBL Sqeeb!sqeeb@83.19.196.90 (83.19.196.90) in #shellcode scored .0 point(s).
<5> [07:46:32] (@security): +3.0 sbl-xbl.spamhaus.org Spamhaus combined zone http://www.spamhaus.org/query/bl?ip=83.19.196.90
<5> [07:46:34] (@security): +2.0 cbl.abuseat.org Open Proxies and Trojans http://cbl.abuseat.org/lookup.cgi?ip=83.19.196.90
<5> verbosity can be changed via the log settings
<4> ic
<4> ok
<5> variable usertxttrim "0";
<5> ## setting to trim TXT records returned from RBL servers
<5> ## 0 = do not trim
<5> ## 1 = trim all before url
<5> ## 2 = trim url from txt
<5> ## 3 = do not display TXT field
<5> ## There is no point in setting this to '2' for user notices
<4> whats this all about [22:06] Tcl error [::eggrbl::onjoin]: Error opening command pipe (/usr/sbin/dig NULL....blackholes.five-ten-sg.com ANY): /usr/sbin/dig: 'NULL....blackholes.five-ten-sg.com' is not a legal name (empty label)
<4> looks like i need dig installed
<4> any clue?
<4> cuz I seem to have dig
<5> hrm...
<4> i think it's because the site is down



<4> does it query all of the sites in the list for every host?
<5> yes...you can customize that list however you want though
<4> how does it parse the reply/
<5> it gets it from dig
<5> it's all in the first namespace
<5> you can read it if you want
<5> and yeah that rbl list is down
<5> has been for awhile...i forgot about that
<5> i removed that one from my bot
<5> just not that script
<4> hrm
<4> so none of them reply to web queries/
<4> whats the dig command including the request?
<4> could you type out an example
<5> and no they do not do web queries efficiently at all
<5> even the ones that have websites
<5> they are called DNSBL technically
<5> which is a DNS black list
<5> basically a large DNS zone that has bad entries listed...returns with standardized 127.0.0.x codes and contains descriptive text records
<5> dig is the best way to query a nameserver
<4> ic
<5> and an example for your host would be something like....
<5> well not even your host but anyhost...
<5> dig @ircbl.ahbl.org host ANY
<5> sorry..hehe had a call right in between there
<5> and host needs to be formatted in ip form and reversed
<5> so say your ip was 123.120.121.122
<5> you would do...
<5> dig @ircbl.ahbl.org 122.121.120.123 ANY
<5> and the result of that is what the script parses
<5> it also handles hostname lookups and the reverse of the ip before doing the blacklist query
<4> dig: couldn't get address for 'ircbl.ahbl.org': not found
<4> so you think that previous error is simpyl from the host being down?
<5> heh guess you are right that one is down too
<5> that script has been around awhile...works great...just need to update/check the black lists
<5> naw..that's up
<5> or should be
<5> the ahbl.org site still lists it
<5> [22:12:01] (leprechau): .tcl ::rblchk::score 83.19.196.90
<5> [22:12:01] (security): Tcl: 83.19.196.90 {+3.0 sbl-xbl.spamhaus.org {Spamhaus combined zone} http://www.spamhaus.org/query/bl?ip=83.19.196.90} {+2.0 cbl.abuseat.org {Open Proxies and Trojans} {Blocked - see http://cbl.abuseat.org/lookup.cgi?ip=83.19.196.90}} 5.0
<5> that's what the raw tcl outputs look like
<4> hey leprechau
<4> i'm still getting this Tcl error [::eggrbl::onjoin]: Error opening command pipe (/usr/sbin/dig NULL....socks.dnsbl.sorbs.net ANY): /usr/sbin/dig: 'NULL....socks.dnsbl.sorbs.net' is not a legal name (empty label)
<7> yes, nice colors
<8> =)
<4> well besides you...
<9> BOOBIES
<8> fu th3dge
<9> omglol
<9> ILU
<8> oh no *hides*
<10> this is supposed to replace a webpage that occasionally loads with "file" at the top before the <head> for some reason. I want to take it out:
<10> regsub "^.*file(.*?)<" $text "<" text
<10> it doesn't work though.... replaces everything from the first word until the very end
<10> and im only left with </html>
<10> how can i fix this?
<10> the if statement that checks if the "file" is there works fine.... its only that regsub that is the prob
<10> nevermind... i figured it out. sometimes you guys are pretty slow ;)
<4> what did you do?
<11> is it possible to strip characters from a string based on a regular expression?
<4> why dont you help me?
<12> you have no $ as end char
<13> lol sysop_
<12> as for one...
<12> :p
<13> and Skeddie where would he want a $ in that regsub line?
<12> nowhere
<13> Moggie, yes it is
<12> I was too quick
<13> regsub ?
<6> regsub -> http://www.tcl.tk/man/tcl8.4/TclCmd/regsub.htm
<14> regsub -> http://Tcl.Tk/man/tcl8.5/TclCmd/regsub.htm
<13> read there!


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #eggtcl
or
Go to some related logs:

#firebird
#nhl
lizsac
flashyourrack
#politics
#bsd
local windows shutdownscript
#flash
#linuxhelp
#mirc



Home  |  disclaimer  |  contact  |  submit quotes