@# Quotes DB     useful, funny, interesting





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



Comments:

<0> Gotisch: #18 (3029 clicks) Tcl:
<1> is skeleton key a good movie?
<2> i hear it is.
<2> download it like everyone else :x
<1> ;proc is args {8ball $args}
<0> Gotisch: #22 (503 clicks) Tcl:
<1> is skeleton key a good movie?
<2> oh, nvm :/
<1> :]
<1> im watching it atm
<1> but its kinda scary
<1> so i wanted to ask 8ball
<1> no+
<1> #no
<1> noo
<1> don't ever watch that movie



<1> i hate it when movies dont end good
<3> haha
<3> horror flick eh
<1> i mean if i want to see something end badly i can just watch the news
<3> :}
<1> now i can't sleep :(
<3> then dont hehe
<3> watch a movie that ends good =)
<1> ye
<1> but how to know in advance?
<1> i need a movie page where they tell
<1> movie ends good
<4> watch the end first.
<1> watch it
<1> or movie ends bad
<1> dont watch it
<5> or watch it backwards
<3> well, if it says "horror" on the advertisment then i guess chances are slim it has a happy ending huh
<1> ye
<1> i wont anymore iether
<1> only comedies for me
<3> think i'll make an exception for Doom though :)
<1> doesnt doom end good?
<1> i mean the game ends good
<1> doesnt it?
<3> dunno, probably hehe, i dont watch anything in horror genre i meant earlier, independant from ending ;)
<1> ah
<1> do you ever get the feeling the online world is to small
<3> sometimes, but mostly the opposite :p
<6> is this a good day to shop?
<6> huhuh
<7> uhm dumb q: why does join, affect escapes? i mean if i had [join "\{hello\}"] it would return "hello"...can think of ways aroun it...just wondered why?
<7> *around
<8> {} makes it a list, and that's what join prevents :)
<7> yeah, but they are escaped
<7> so join shouldnt join it?
<8> well, escaping em there wont generate that effect
<7> ;join "\[piLL\]"
<0> [piLL]: #16 (196 clicks) Tcl: [piLL]
<8> [] doesnt make em a list :)
<7> yeah
<7> but it "joins" the escapes?
<8> .tcl join {\{hello\}}
<0> BL4DE: #20 (223 clicks) Tcl: {hello}
<7> yeah
<8> .tcl join {{hello}}
<0> BL4DE: #22 (204 clicks) Tcl: hello
<8> .tcl join "\\\{hello\\\}"
<0> BL4DE: #23 (206 clicks) Tcl: {hello}
<7> thats how i figured to get around it
<7> i just cant think why
<7> *why it works
<8> cause join never get they're escaped
<7> so it must encounter { } around anything escaped, to be evaluated correctly
<7> ie use split or list on it first
<7> that correct?
<8> try :)
<8> never had that prob
<7> im making a script, for a few scriptors to keep organised, but involves storing nicknames...and i want to handle [ ] { } nicknames correctly...keeping everything escaped and in list form, has the desired affect, but its a whole bnuch of h***le :/
<1> hu?



<1> i never had any problems with []
<1> ;list hello{
<0> Gotisch: #37 (196 clicks) Tcl: hello\{
<1> ;list [a]nickwith{
<0> Gotisch: #38 (3584 clicks) Tcl error: invalid command name "a"
<1> ;list "[a]nickwith{"
<0> Gotisch: #39 (108806 clicks) Tcl error: invalid command name "a"
<1> :]
<1> ;list \[a\]nickwith{
<0> Gotisch: #41 (215 clicks) Tcl: \[a\]nickwith\{
<7> yeah
<1> but thats just because [a] isnt in a var
<1> ;set a {[a]}
<0> Gotisch: #44 (237 clicks) Tcl: [a]
<1> ;append $a nickwith{
<0> Gotisch: #45 (250 clicks) Tcl: nickwith{
<1> ;set a
<0> Gotisch: #46 (202 clicks) Tcl: [a]
<1> ;append a nickwith{
<0> Gotisch: #47 (212 clicks) Tcl: [a]nickwith{
<1> ;list $a
<0> Gotisch: #48 (217 clicks) Tcl: \[a\]nickwith\{
<1> ;join [list $a]
<0> Gotisch: #49 (257 clicks) Tcl: [a]nickwith{
<7> hehe have a play....then play with some string/list functions....it gets fun....easiest thing to do, escape all []{} in input, and make it a list...then keep it like it, so that when string/list functions are evaluated with the var with that stuff in, they *never* interpret the []{} how you *dont* want them to
<7> basically waht BL4D3 just said
<8> u shouldnt need to escape anything imo
<8> if u do it all correctly
<7> true, the var p***ed into the var should already be escaped
<7> but if some bright spark decides to add already escaped like: !addnick \{nick\} ...it gets messy... so tbh, i wrote a lil thing, to unescape, then reescape...so it would always have it escpaed and in list form
<1> join list
<0> Gotisch: #56 (205 clicks) Tcl: list
<9> split "\[a]bla"
<0> CyBex_: #57 (213 clicks) Tcl: {[a]bla}
<1> proc escape args {return [list [join $args]]}
<1> no?
<1> escape hello world{ this needs to be {escaped}
<0> Gotisch: #60 (835 clicks) Tcl: hello\ world\{\ this\ needs\ to\ be\ escaped
<1> nah not 100% :)
<7> i was looking for a function which would escape certain things....like an "re-escape", which would escape any re character with meaning in a given var...couldnt find anything like that
<7> yeah but then space is escaped
<1> still i don't see the problem
<1> if someone does !addnick \{nick\}
<1> thats just a wrong command
<1> because \{nick\} is not a valid nick
<10> :P
<7> so you are gonna do a match for \ in any input then
<10> it is :)
<11> ;set list "[anc bo"
<11> ;lsearch $list "[anc"
<11> ?
<11> ;list $nick
<0> anc: #109 (216 clicks) Tcl: \\\{nick\\\}\\
<11> ;set list "a b"
<0> anc: #110 (207 clicks) Tcl: a b
<11> ;set list "a [b"
<11> ;set list "a \[b"
<0> anc: #111 (209 clicks) Tcl: a [b
<11> ;lsearch $list "\[anc"
<0> anc: #113 (238 clicks) Tcl: 0
<12> ;info globals
<0> fumanchi: #121 (431 clicks) Tcl: tcl_version tcl_interactive {[a]} a list errorCode auto_path errorInfo listt test env tcl_patchLevel auto_noexec nick tcl_platform tcl_library
<12> ;set nick
<0> fumanchi: #122 (197 clicks) Tcl: \{nick\}\
<12> hmm..
<12> ;set test
<0> fumanchi: #124 (198 clicks) Tcl: test
<12> ;set a
<0> fumanchi: #125 (194 clicks) Tcl: [a]nickwith{
<12> ;quit
<12> :)
<0> fumanchi: #126 (1808354 clicks) Tcl: Reset safetcl.
<12> ;info globals


Name:

Comments:

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






Return to #tcl
or
Go to some related logs:

#politics
btheist
#stocks
simscan spamcontrol
#goal
#dreamweaver
#sex
#mirc
#italy
#visualbasic



Home  |  disclaimer  |  contact  |  submit quotes