| |
| |
| |
|
Page: 1 2
Comments:
<hest> you use tcl at work, RockShox? <soulfly> ^^ <FireEgl> =) <soulfly> ^^ <th3dge> =) <soulfly> ^^ <t|to> alamar leave #tcl <t|to> heh <FireEgl> =) <dreamss> smilly man <FireEgl> =P <AoEKiller> anyone know what set sub1 "" set sub2 "" set sub3 "" mean? <smartwork> anyone awake who knows itcl? <poci> .tcl file rootname /home/test/woo/blubb.tmp <SafeTcl> poci: #1971 (10374 clicks) Tcl: /home/test/woo/blubb <poci> .tcl file dirname /home/test/woo/blubb.tmp <SafeTcl> poci: #1973 (459 clicks) Tcl: /home/test/woo <AoEKiller> anyone can help with lindex? <dreamss> ? <AoEKiller> dreamss u know what lindex is? <th3dge> lol <th3dge> just ask dude <AoEKiller> ;) <th3dge> of course he knows what it is <AoEKiller> okay <AoEKiller> [lindex $data] 2] will list third columns from a mysql database right? <th3dge> yes <AoEKiller> ok <AoEKiller> so <dreamss> bi <dreamss> no <th3dge> third row <th3dge> :) <AoEKiller> if I want to list all <[GRiMMY]> umm no <[GRiMMY]> that wouldnt do anything <dreamss> ;set tvar "1 2 3 4 5 6" <SafeTcl> dreamss: #2008 (889 clicks) Tcl: 1 2 3 4 5 6 <[GRiMMY]> [lindex $data 2] <SafeTcl> [GRiMMY]: #2009 (435 clicks) Tcl error: can't read "data": no such variable <[GRiMMY]> that would... <dreamss> ;lindex $tvar 2 <SafeTcl> dreamss: #2011 (222 clicks) Tcl: 3 <th3dge> in a foreach <th3dge> it will <th3dge> well <th3dge> sfd6v54vc6 <AoEKiller> and to list all columns? <th3dge> "to list all" ? <AoEKiller> yeah <[GRiMMY]> ;set tvar [list {a1 b1 c1} {a2 b2 c2} {a3 b3 c3} {a4 b4 c4} {a5 b5 c5}] <SafeTcl> [GRiMMY]: #2019 (724 clicks) Tcl: {a1 b1 c1} {a2 b2 c2} {a3 b3 c3} {a4 b4 c4} {a5 b5 c5} <dreamss> lindex = line index <[GRiMMY]> lindex tvar 1 <[GRiMMY]> ;lindex $tvar 1 <SafeTcl> [GRiMMY]: #2022 (207 clicks) Tcl: a2 b2 c2 <[GRiMMY]> ;lindex [lindex $tvar 1] 2 <SafeTcl> [GRiMMY]: #2023 (236 clicks) Tcl: c2 <th3dge> jesus what are you guys trying to do <AoEKiller> listing all colums from a table :D <th3dge> not you <th3dge> you mean rows? <th3dge> [join $data] <AoEKiller> yes all info from a row <SafeTcl> th3dge: #2029 (452 clicks) Tcl error: can't read "data": no such variable <th3dge> in one line? <[GRiMMY]> lol <AoEKiller> sure I can use regxp to do what I want after all :p <th3dge> be more specific, you want to return all row results in one line? <th3dge> instead of individually picking them off with lindex? <AoEKiller> well <AoEKiller> if I do a search for exemple banana it will show me 1 result but I want to see info from that line with others colums also <AoEKiller> in 1 line <AoEKiller> dunno if it clear I usually speak french :p <th3dge> oh, when you have multiple results from a query? <AoEKiller> yeah <th3dge> use a foreach <AoEKiller> gimme an exemple <th3dge> check your mysql package's manual/docs for an example <[GRiMMY]> ..(13:24:25).. ..AoEKiller.. sure I can use regxp to do what I want after all :p <th3dge> which are you using? <[GRiMMY]> this guy has no idea <[GRiMMY]> RTFM <AoEKiller> ;set tvar "1 2 3 4 5 6" <SafeTcl> AoEKiller: #2049 (219 clicks) Tcl: 1 2 3 4 5 6 <AoEKiller> ;lindex $tvar 1 2 3 4 5 6 <yoe> with mysqltcl: use -list option, and: foreach {row1 row2 row3 row4 row5} $mysqltcl-variable { putserv "PRIVMSG $chan :$row1 $row2 $row3 $row4 $row5" } <SafeTcl> AoEKiller: #2050 (261 clicks) Tcl: <th3dge> yoe!!!!!! <AoEKiller> ok thcx <yoe> th3dge!! ;) <th3dge> baby you are back <yoe> more or less.. <th3dge> oh <yoe> still kinda busy, so i gotta go again. ttyl :) <th3dge> aight, later <AoEKiller> also another simple question <AoEKiller> to retreive last 10 last matches <AoEKiller> not first 10 results I want last 10 results so the command need to start reading from the end of the database <[GRiMMY]> thats a SQL question fool <AoEKiller> yeah but programmed in tcl :D <AoEKiller> i use mysqltcl <[GRiMMY]> uh no <[GRiMMY]> thats SQL not TCL <AoEKiller> ok <AoEKiller> sorry then <yoe> 'ORDER BY <some row-name> DESC LIMIT 10' in the sql-question, and now, start asking question about stuff that relates to Tcl.. <yoe> *poff <AoEKiller> ok :) <SaMRisE> lo <SaMRisE> anyone here can recommend me a tcl for encrypting and decrypting blowfish encrypted text? <SaMRisE> i'm using one, but it does decrypt... <AoEKiller> yeah <SaMRisE> *doesnt ... <AoEKiller> http://www.donationcoder.com/Software/Mouser/mircryption/index.php <AoEKiller> ur using it with windrop? <SaMRisE> nop <AoEKiller> eggdrop? <SaMRisE> lets see <AoEKiller> i'm using it since 2 years now and it working gr8 <SaMRisE> yap eggdrop <SaMRisE> going to test it <SaMRisE> tks AoEKiller <AoEKiller> np :) <SaMRisE> works just fine <SaMRisE> :D <SaMRisE> many tks <AoEKiller> :D <ValeY> need tcl help <AoEKiller> hest ur around? <Gotisch> no but gotisch is around <hest> AoEKiller: ya <AoEKiller> anyone know how to set a trigger to use regxp after with safetcl script? <soulfly> ef'leprechau? <soulfly> Are u there? <AoEKiller> yeah <AoEKiller> ops <soulfly> :P <AoEKiller> no one alive? <badaas> only the cobblers <AoEKiller> well <AoEKiller> I want to add a text trigger to safetcl <badaas> why not? <AoEKiller> then its <AoEKiller> ;set? <SafeTcl> AoEKiller: #2247 (3206 clicks) Tcl error: invalid command name "set?" <badaas> what is a text trigger? <AoEKiller> any text <AoEKiller> I want to use ;regexp after <BL4DE> notice, noone got no freaking idea what you want <AoEKiller> ?
Return to
#tcl or Go to some related
logs:
#politics #politics mirc mysql.dll bridgette nielson beverly hills cop
#beginner microdick porn
#gamedev #nhl bitchx forex realdolls.com
|
|