@# 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> argv[0] what do you think of my question?
<1> $hfind
<0> no
<0> let me eplain
<1> you dont need to
<1> use $hfind
<0> this is something different than my earlioer question
<1> the answer to the last question you asked is $hfind
<0> m = W ?
<1> do i have to repeat the help file?
<1> or can i ***ume that was rhetorical
<0> Whash table item/data is wildcard text right?
<1> thats what the help file said, sure
<0> I dont want to make a mistake and corrupt data
<1> you're reading data
<1> you cant corrupt anything



<0> ok
<1> and uh
<1> you should definitely back up your data
<1> so that you wont worry about data corruption, your fault or mircs
<0> yah
<0> :)
<0> argv[0] and its never my fault right? :)
<2> Cool for Cats :)
<1> http://www.rahoi.com/2006/03/may-i-take-your-order.php
<3> rofl
<1> add a peaceful please!
<4> ALGUNA AMIGA
<4> Q QUIERA CONVERSAR
<1> TURN OFF YOUR CAPS LOCK AND SPEAK ENGLISH
<3> i'll have the cowboy leg
<1> french crips
<1> ha
<4> I AM NOT SPEACK INGLISH
<1> RONNY20, #mIRC is a help/support channel for the mIRC chat client. If you are looking to chat type /list *chat* or /hop #WorldChat
<1> the last few are great
<4> IM SPEACK ESPAOL
<3> hehe yea
<4> HELLO
<4> WHAT
<3> RONNY20: ste es un canal de ayuda sobre mIRC. Si tiene una pregunta acerca de mIRC, hgala en ingls y en el canal, y espere a que alguien le conteste. Si necesita ayuda en espaol, teclee /hop #ayuda .. o si quiere charlar, pruebe en #espaa, #mexico o haga un /list.
<5> si hablo es taco bell puto?
<5> gtfo yfpos
<3> ...
<1> uh
<1> bi0h4z4r_, #mIRC is a help/support channel for the mIRC chat client. If you are looking to chat type /list *chat* or /hop #WorldChat
<1> a west bean pays the fish a soup
<0> argv[0] I just got everything working
<0> the speed of has tables makes me want to ry
<0> *cry
<0> its beultiful
<6> hola peoples
<5> lol argv[0]
<6> anyone gearing up for march madness?
<7> jhm_snk: something mIRC related we can help you with?
<6> not really, I suppose
<7> jhm_snk: well, this is a support channel for mIRC. If you're looking for chat, try #chat or #hottub
<6> chat is invite only
<6> :(
<6> sad panda
<8> hi there men
<9> Hello, I have a little problem with my dialog, I have made a dialog with a few editboxes, on init the textboxes load in certain values from an ini-file with the parameter -i. The unfortunate part is that it makes one empty line at the end, this becomes a problem with the next function, save. I use a button to save what's in the editboxes back to the ini-file, but the writeini-command fails when it reaches the empty line. Anyone got any ideas
<10> Sounds like you are inserting the newline into the edit box. Try removing it from the end of the line read from the ini file, maybe
<9> You mean that I may have a newline-char in the ini-file?
<9> If so, that's not it.. :/
<3> "with the parameter -i" refers to /did ?
<9> yes
<9> no
<9> Yes, on did
<3> try -a or even -ra, see if that makes a difference
<3> maybe that's not what you meant though
<9> With -a it will all be on the same line, that's a problem..
<3> your real problem is that you can't read empty entries from the .ini file
<9> uhm
<9> I dont have any empty entries there.
<3> uh, write then
<3> ah yeah, you mentioned that, at the writeini one



<9> I can show you what it looks like, just a sec
<3> you could fix that by adding something in front of every line when doing /writeini, and taking all but that first part when doing the $readini
<3> you could also switch to /loadbuf and /savebuf i guess
<9> hm
<9> If I would add something before everyline on /writeini that would make the ini-file bad..
<3> "bad" ?
<9> Hm, other scripts are reading it, I would have to go about editing those too.
<9> So it would be bad imo.
<3> well, the format is bad
<3> .ini files are not supposed to store empty entries
<11> You define what's in your ini file....I would probably have a 'standard' read function (a wrapper around readini)
<9> sat, I dont wanna store any empty value either! That's exactly the problem...
<11> (and around writeini, for that matter ;)
<9> ;What the ini looks like
<9> [chars]
<9> name1=Temp
<9> name2=Temp
<9> etc..
<9> if ( $did(43).text ) {
<9> var %notes.lines = $did(43).lines, %x = 1
<9> while ( %x <= %notes.lines ) {
<9> writeini %f chars name $+ [ %x ] $did( $dname, 43, %x ).text
<9> inc %x
<9> }
<9> }
<3> yes, that much is clear
<3> thing is, you can't have "name3="
<9> I know..
<3> so either change the way you're using the .ini file, or, ..well, continue having this problem
<9> Well, I dont wanna write a empty line, and that's the whole question. The editbox just makes the emptyline and I dont want it to try to write it to the ini, since it obviously wont work.
<3> so, what if the user actually does type an empty line?
<3> type, insert, whatever
<3> in the editbox that is
<3> or is that not allowed?
<9> So, what's you suggestion?
<3> if not, just skip over the empty lines
<9> How?
<3> and after reloading you'll get the same text but without the empty lines
<3> use two counters instead of just %x, and check if $did($dname,43,%x) is empty, if so, inc %x without writing to the .ini file
<3> so you need another counter for the name $+ %.. part
<9> hm
<12> sat: currently my /whois shows on in the main window except when the user is not online
<11> Odd. Even initialising with -r, you still get an extra line. Seems you cannot have no lines of text in an editbox
<12> is there any way to make it display [No user] [$user isn't online]
<12> in the main window also
<12> on a failed /whois
<9> sat
<9> if ( !$did( $dname, 43, %x) ) { inc %x }
<9> else {
<9> writeini %f chars name $+ [ %x ] $did( $dname, 43, %x ).text
<9> inc %x
<9> }
<9> ?
<3> no
<3> <3> so you need another counter for the name $+ %.. part
<3> now you'll write "name3" and "name5" but not "name4" if line 4 is empty
<9> ah, ofc
<9> how silly of me
<3> UncleD: yeah, by editing your script
<11> Is it always just the last line that is empty? Just read until the last but one ;)
<9> like this then
<9> while ( %x <= %notes.lines ) {
<9> if ( !$did( $dname, 43, %x) ) { inc %x }
<9> else {
<9> writeini %f chars name $+ [ %y ] $did( $dname, 43, %x ).text
<9> inc %x %y
<9> }
<9> that should fly
<13> Please try not to flood, the bots will get you.
<3> inc %x | inc %y
<11> ERR_NOSUCHNICK is raw 401
<3> inc %x %y will increase %x with %y
<11> inc %x | inc %y
<3> Sais: congratulations, your clipboard works! ;p


Name:

Comments:

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






Return to #mirc
or
Go to some related logs:

bluvirus
inkinPark
RTC_InitBase 64 bit
#beginner
#computers
magnetic sheild partitions
members.mikeinbrazil.com
#worldcup
#politics
phisher1



Home  |  disclaimer  |  contact  |  submit quotes