| |
| |
| |
|
Page: 1 2 3
Comments:
<0> samode [GRiMMY] <1> hmmm <2> can tcl b used in others things apart from eggdrop then? <1> you sure? <3> DJSi: duh <1> LOL <1> why have a #tcl and a #eggtcl if it cant <0> if a network admin typed /samode #tcl +o BigBadPhi i would be oped here <1> erm... no <2> i had no idea...... <1> /samode is not a function of mirc <3> DJSi: beat yout head against the desk <3> your* <2> lol <0> hold on, can i pm you and ill show you <2> i'm sure there is still some things u dont know... no-one knows everything
<0> thanks [GRiMMY] <4> !seen yoe <5> yoe was last on IRC channel #Tcl 15 days, 7 hours, 17 minutes ago. <6> yoe was last on IRC channel #Tcl 15 days, 7 hours, 16 minutes ago. <7> yoe was last on IRC channel #TCL 15 days, 7 hours, 16 minutes ago. <8> !seen th3dge <5> th3dge is on the channel right now! <7> th3dge is on the channel right now! <6> th3dge is on the channel right now! <8> well, that was certainly not clear until the third message <4> olo <9> :P <10> lol <10> I hate microsoft <10> you gotta restart for playing a game you just installed <10> that ****s <9> yup <10> like age of mythology <10> brb <9> i always try and not restart first <11> set fd [exec mail -s \"$nick paged you\" me@my.email < nothing] <11> why does that not work? <12> what is cricket tcl <10> its a new brand of coffeemaker <13> the lesbian channel on another ircnet <14> bl4de you **** <13> :( <14> ive left pms for you the last month without luck <13> only once or so <13> at least that's all i've seen <14> twice this month <14> about the same last month <14> :> <13> if i didnt answer its prolly in my psybnc log :) <10> :) <15> can I dynamically create a procedure, having variables for the procname? <13> ; set n smooke <6> BL4DE: #3346 (173 clicks) Tcl: smooke <13> ; proc $smooke {args} { puts $args } <6> BL4DE: #3347 (253 clicks) Tcl error: can't read "smooke": no such variable <13> ; proc $n {args} { puts $args } <6> BL4DE: #3348 (375 clicks) Tcl: <13> ; $n i smoke alot <6> BL4DE: #3349 (stdout) i smoke alot <15> very nice :) <15> thanks <13> ; smooke i smoke alot <6> BL4DE: #3352 (stdout) i smoke alot <15> and I guess i can call the proc command inside a proc, right? <13> mm <13> watch out tho, can generate a mess <15> ; proc test {arg} { proc testproc_$arg {blubb} { puts $blubb }} <6> Obeliks: #3356 (302 clicks) Tcl: <15> ; test one <6> Obeliks: #3357 (695 clicks) Tcl: <15> ; testproc_one abc <6> Obeliks: #3358 (stdout) abc <15> nice <15> ok, I'll be on the watch :) <13> :) <1> hmm Obeliks
<1> what you making? <15> nothing :P <1> lol <1> tell me =) <15> little bot <15> url catcher <15> nothing interesting <1> oh ok <1> seems complex for a url catcher =P <15> I just want to make commands with subcommands without binding every single thing <15> like url search <15> url add <15> etc. <13> remember, tcl is just as easy as sharing a folder on windows <1> oh ok <15> so I figured, I make a command like "addcommand url {search add ...}" <1> oh <1> ok =) <15> and it makes the bind proc for me :) <15> including help output, etc. <16> i wanted to include a tcl-module to anope <16> but including tcl into other apps isnt as easy as making tcl extensions <17> hello, when we have a html file, in this file ive got lots of blocks with for exemple: http://www.rafb.net/paste/results/kGyPc525.html is it possible to get all the values really fast? exemple: <h4>Chico</h4> and <h5>It's Chico Time</h5> <15> regexp <15> grep for <h(\d)>[^<]+</h\1> <17> ok but can i regexp one time or shall i do it more then one time <15> that would give you all headings <15> that's up to you <15> depends on your needs I guess <15> actually make that .+ instead of [^<]+ <13> u can use -inline -all <13> but i tell ya, regexp aint no good way ;) <15> why not? :) <17> umm <15> what would you do? create a parse tree for the whole document? :) <13> u'll notice the speed if the doc is too long <15> bad implementation then :) <15> <h(\d)>.+</h\1> is a quite easy pattern :) <15> well of course you can do the search by yourself... I don't really believe it's much faster though <17> http://www.bbc.co.uk/radio1/chart/singles.shtml i just wanna get the rank, the artists name and album name of all 40 albums <17> so can i do a regexp on all the document? <15> yes <15> I would go for a different expression though <15> like <h5>([\w\s]+)</h5>\w*<h4>([\w\s]+)</h4> <15> or make it alphanumerical rather than just \w <18> whats wrong with this http://paste.tclhelp.net/?id=4q3 it wont paste anything in the channel and i do not get any connections errors :/ <17> regexp -- {<h5>([\w\s]+)</h5>\w*<h4>([\w\s]+)</h4>} $document test1 test2 <17> right? <15> hmmm I think you need some -all or something <15> check the manual <15> haven't done some tcl regexp in a while <17> o <17> kok <15> no idea zyxep, but you shouldn't connect to the db each time you want to query somethign <18> obeliks i only want to test it ... then build it so it doesent <19> someone can tell me what: Tcl error [ga:naar:groep]: can't read "fdate": no such variable means? <15> that you are using a variable fdate that doesn't exist <20> =) <1> *cough* add him to nut Fire <20> what? nut? oh.. okee <20> =) <1> =) <15> oh my, another channel I have to idle in :) <15> how is that supposed to fit on 1024x786 :D <15> (which is the resolution I have on my irc screen... not the one I work on *defendingHonour*) <15> :) <15> heh <15> what comes around, goes around :D <1> lol <15> hey, you're on #blackberry... how much did they pay? 600 Million? <15> :) <20> uhm, I dunno.. I just idle in #blackberry cuz somebody gave me +v there. =/ I don't even own one. <1> lol
Return to
#tcl or Go to some related
logs:
pewf #hardware #computers #beginner #solaris #computers #beginner whouwannabe neruppu guna #politics
|
|