@# Quotes DB     useful, funny, interesting





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



Comments:

<0> oh ok
<1> like a *nix program uses word ;p
<2> haha
<0> k, it says it is msg
<0> thanks
<0> i have a simple bind to notice a user on a keyword, but it seems to delay about 30s after the trigger - any reasons why that would be besides my ****ty server?
<1> could be your sending alot of other messages
<1> eggdrop's have a message queue
<1> so they dont flood off
<0> sends like 4 notices back
<0> its not being used by anyone but my one test trigger
<1> use putquick and see what happens
<0> ok i can try in a minute - are there disadvantages to using puthelp?
<1> i _think_ puthelp is the slowest
<1> but its good for large armounts of text



<0> i see
<0> ok thanks
<1> putserv is normal, and putquick is.. well.. quick
<0> but can cause problems i would ***ume
<1> i normally just use putserv
<1> putquick shouldnt be used unless you really need to
<1> like trying to set modes asap
<3> if i wanted to watch a file with tcl, would it be better to count the lines in the file or watch the filesize to notice changes
<3> ok :) finally made it work
<3> now i can run it in a shell .. i wonder how i can make it msg a channel on irc as the file changes
<3> i tried using putmsg #channel $myvariable but it crashes
<3> almost got it
<3> how can i debug a tcl loaded on eggdrop
<3> basically am trying to write a tcl that will post in a channel or will msg a nick when someone ssh's to my box
<4> possible to encrypt a whole tcl script and still have eggdrop use it?
<5> tcl should be open source =D
<6> in some way it'll be decrypted to run
<6> so, if u want it protected, dont give it to anyone
<6> _D3_ what i said doesnt change with u msging me
<4> so theres no way
<5> why would you want to encrypt your tcl-code anyway?
<6> why protect it ? it'll be easy to crack anyways
<4> hmmk
<5> shortybsd
<6> if u dont want stuff to leak to anyone, then dont give it to anyoen
<4> hehe obvisouly
<7> when i have 2 scripts loaded ,both accessing mysql, and there both using the variables "myhost","myuser","mydb","myp***" but with different values, they interfere with eath other, i conlude i must use different variable names for every script? or is there another way of prevennting this
<8> [PASTE] yoe just pasted code at http://paste.anbcs.com/3877 (/var/log/auth.log-reader)
<7> oh, "yoe", not "you" ,i thought, wtf, i didnt paste it yet ;)
<5> ;)
<5> mutante, either use namespace or diff array-names
<5> (check out that script up here for a example on namespace)
<7> thank you
<5> all variables made within that namespace will be "known" as ::userLogin::<variable name>
<5> now that i think about it, an "unsource"-command wouldn't be all that bad to have.. just removing the binds would do it..
<5> and removing the utimers/timers
<7> oh yes, i agree
<7> i wish .rehash would also be enough to remove binds
<7> not just to add new ones
<9> .restart is enough
<5> zanpaktou unsource scripts/pageadmin.tcl
<10> <2.0ms> {Type: pub Access: -|- Trigger: !pageadmin Event: [namespace current]::handle}
<5> ;p
<11> yes its my birthday :D
<9> uhm my bot still seems to crash shouldnt this work ?
<9> while { $p***word == "nothing" } {
<9> if {[catch {::http::geturl $url -timeout $timeout} tok]} {
<9> set p***word "nothing"
<9> } else { set p***word [::http::data $tok] }
<9> ::http::cleanup $tok
<9> }
<9> }
<9> repasting.........................
<9> while { $p***word == "nothing" } {
<9> if {[catch {::http::geturl $url -timeout $timeout} tok]} {
<9> set p***word "nothing"
<9> } else { set p***word [::http::data $tok] }
<9> ::http::cleanup $tok
<9> is there another way to do it ?
<9> maybe another command than while ?
<12> that catch probably doesnt work, not sure



<9> yea it works
<12> catch { set doesnotexist} var ; puts $var
<10> th3dge: #15 (stdout) can't read "doesnotexist": no such variable
<12> catch { set doesnotexist} var ; puts "error: $var"
<10> th3dge: #16 (stdout) error: can't read "doesnotexist": no such variable
<12> the tok you specified contains the error msg
<12> if it has an error
<12> you should do
<9> it doesnt have an error
<9> works fine
<12> catch { set test "test"} var ; puts "error: $var"
<10> th3dge: #22 (stdout) error: test
<12> ah, nm
<12> :P
<9> but i read something about -command in http:: just not sure how it works
<9> might be a better way to do it than while
<12> the braces look weird to me too
<12> you got the cleanup uin the while loop?
<5> ;if {[catch {[set test "test"]} err]} { puts "error: $err" } else { puts "it's fine" }
<10> yoe: #35 (stdout) error: invalid command name "test"
<5> ;if {[catch {set test "test"} err]} { puts "error: $err" } else { puts "it's fine" }
<10> yoe: #37 (stdout) it's fine
<5> ;unset test; array set test {}
<10> yoe: #38 (167 clicks) Tcl:
<5> ;if {[catch {set test "test"} err]} { puts "error: $err" } else { puts "it's fine" }
<10> yoe: #39 (stdout) error: can't set "test": variable is array
<13> anyone know why eggdrop fails to store p***words?
<9> cause you are messing with the .user file ? =)
<13> nope, they can idle for 24 hrs, and when i relink em when some of them timeout, i have to reset the PW everytime.
<13> the autosave is issued every 60 minutes
<14> why doesn't changing the p*** in the .user file work? :p
<15> it does
<16> cause the bots running..
<15> delete backup one
<15> and then reload the user file
<14> also possbile while the bot is running?
<15> not sure
<16> didnt know that
<16> but it might
<15> dont think there is a reload command
<16> there is
<16> .reload
<16> Reloading user file...
<15> ok
<15> delete the backup user file
<15> modify user file
<15> .reload
<16> hee thanks for the tip..
<15> should do it
<15> think it compares user file to backup one
<14> hmz, let's test
<15> and then loads it if they arent diff
<15> if they are it loads backup
<14> heh, works
<14> great tip
<14> food now
<15> =P
<17> How can I check if a user is a voice or operator in the current channel?
<6> isvoice
<6> i'll give u one guess to guess the op cmd :)
<17> :)
<6> its: isvoice nick chan
<17> yep i googled it thanks
<6> :)
<17> if {[isvoice $nick $chan] || [isoperator $nick $chan]} {
<17> like that, right?
<6> yep
<14> isoperator?
<6> oh
<6> its isop
<6> my bad
<17> doh ok thanks
<14> pwiew, I'm not dementing
<6> im too used to shorting down words i guess


Name:

Comments:

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






Return to #eggtcl
or
Go to some related logs:

#firebird
#computers
grouw700
#linuxhelp
#beginner
what happened to scorp
0'hay family
seasharp
#beginner
#politics



Home  |  disclaimer  |  contact  |  submit quotes