| |
| |
| |
|
Comments:
<0> Right, i have a script that inserts stuff into mysql db <0> Now ppl can specify what gets niserted <0> But what if the variable does not exist, is there a way to make it just nothing and still not interupt the script? <0> can't read "SiteComment": no such variable <0> Thats var i get <0> *error <0> I just wanted to treat SiteComment as "" <0> But if i do set SiteComment "" i get invalid command name "" <0> ;set testvar "" <1> [Si|0]: #364 (202 clicks) Tcl: <0> spose that should work then... <2> [PASTE] hest just pasted code at http://paste.anbcs.com/4269 (none) <3> [Si|0], use if {[info exists variable]} ? <0> 'sok i got it sorted eventually ;) <4> IRC.VMSHELLS.COM #VMShells , Cheap - VPS - Dedicated Servers - Colocation - Shoutcast - IRCD - GameServers - WebHosting =-
<5> heya <5> enyone can help me ? <5> me and a friend want to do a tcl <5> that send an email with a html file from the eggdrop dir <3> you probably should try finding a script that has some emailing capabilities <3> im sure there are such <5> proc email_send {to from cc subject text} { <5> set fid [open "| /usr/lib/sendmail -oi -t" "w"] <5> puts $fid "To: $to" <5> if {[string length $from] > 0} { <5> puts $fid "From: $from" <5> if {[string length $cc] > 0} { <5> puts $fid "Cc: $cc" <5> } <5> puts $fid "Subject: $subject" <5> puts $fid "Date: [clock format [clock seconds]]" <5> puts $fid "" ;# sendmail terminates header with blank line <5> puts $fid $text <3> ? <5> close $fid <5> } <5> that`s what we made `till now <5> but it don`t works <3> so, that just creates the email file? <3> http://www.egghelp.org/tclhtml/3478-4-0-0-1-email.htm <3> get one of those scripts and use the email sending function <5> ok thanks <6> Hi all <7> I am coding some eggtcl right now and I was wondering what the command is for for like isin for like if (the-word isin $var) ? <8> string matc <8> h <9> he left <9> you lkamer <9> rtfm <9> pay attention <9> you're being ignorant <8> aww :( <8> he gave us 4 minutes <9> i know <9> i love people who does: <8> btw. wanna call one of the peeps who used startkeylog ger inhere? <8> he speaks your language ;) <9> /say #eggtcl hey, can someone help me | /part <9> who's that? <9> what was his nick? <8> Dan-R <9> i'll make a badword kick for that as well <8> he quoted me on some gaming profile with his full name on it <9> im asking him to join now <9> they text they use is startkeylogger? <8> mm <9> aaaaight <9> making a badkick <9> dan-r has been idle 3hrs 25mins 45secs, signed on Thu May 11 01:24:11 <9> he's probably outside, running in the street yelling 'startkeylogger' to see if someone drops dead
<8> hehe <8> i wrote to him on msn <8> and all those chans i can post his phonenumber in <8> anyone wanna send any sms to him with fake phonenumber ? <10> hest <9> grimmy <10> startkeylogger <10> or <10> DCC SEND 0 0 "asddsadasdsaddasdasddsadsad" <10> and it cant be used like this startkeylogger and it will still work <10> *can <9> well... <9> how bout someone with several bots make an anti-spam bot <9> i have some scripts that can be used for onjoins and customized badwords etc <10> i dont have several bots <9> BL4DE does, doesn't he? <9> anyways, im off for cleaning my apartment <8> i have 2 <8> in HOMM that wouldnt be several ;) <10> wtf is HOMM <8> Heroes of might and magic, played it alot when i was younger :) <10> oh ok <9> [16:01] <Symmetry-> here's the current state of artificial intelligence: http://bash.org/?240849 <9> hahah <10> http://www.youtube.com/watch?v=VOpn8yz0Onk&search=Little%20Britain <11> lol hest <12> :-) <11> hmm <12> Hehe <0> ;set testv "1 2 3 4 5 6 7 8 9" <1> [Si|0]: #651 (14880 clicks) Tcl: 1 2 3 4 5 6 7 8 9 <0> [lrange testv 1-9] <1> [Si|0]: #652 (891 clicks) Tcl error: wrong # args: should be "lrange list first last" <0> [lrange testv 1 9] <1> [Si|0]: #653 (219 clicks) Tcl: <0> [lindex testv 1 9] <1> [Si|0]: #654 (10330 clicks) Tcl: <0> [lindex testv 1-9] <1> [Si|0]: #655 (220 clicks) Tcl: <0> [lindex testv 0-9] <1> [Si|0]: #656 (219 clicks) Tcl: <3> you are hired <0> :/ <3> ?? lindex <2> [What-is] That term has not been defined. <1> lindex -> http://Tcl.Tk/man/tcl8.5/TclCmd/lindex.htm <0> [lrange testv end-1] <1> [Si|0]: #660 (458 clicks) Tcl error: wrong # args: should be "lrange list first last" <0> [lrange testv 1 end-1] <1> [Si|0]: #661 (215 clicks) Tcl: <0> [lrange testv 1 end] <1> [Si|0]: #662 (216 clicks) Tcl: <0> ;set testv "1 2 3 4 5 6 7 8 9" <1> [Si|0]: #663 (202 clicks) Tcl: 1 2 3 4 5 6 7 8 9 <0> ;lrange testv 1 end <1> [Si|0]: #664 (214 clicks) Tcl: <13> test <0> WHy the hell aint that working... <3> [lrange $testv 1 end] <1> confusim: #667 (243 clicks) Tcl: 2 3 4 5 6 7 8 9 <0> ahhh <3> :) <0> cheers ;) <3> [lrange "1 2 3 4 5 6 7 8 9" 1 end] <1> confusim: #671 (226 clicks) Tcl: 2 3 4 5 6 7 8 9
Return to
#eggtcl or Go to some related
logs:
#c Vbs 5 loop #hardware #politics #linux-noob #solaris #hardware #nhl #beginner #computers
|
|