mIRC Homepage
Posted By: HAMM3R $didtok - 09/01/06 02:13 AM
Hey. I have a multiline editbox, and i want to save the info in an ini file, AS IS. I can use $didtok($dname,ID,32) which works normally, but if everything in the box is one word, for example: WEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE (yes it wasnt my idea, someone testing it wanted an alias to say that. smirk) ... if that is the case, it will be broken up with a space (WEEEEEEEE EEEEEE). Any idea as to how I can avoid it, and take the text in the editbox as is?
Posted By: genius_at_work Re: $didtok - 09/01/06 02:16 AM
Maybe use an obscure character in place of the space character in $didtok, and then $remove that character before you continue with the rest of your processes.

-genius_at_work
Posted By: HAMM3R Re: $didtok - 09/01/06 02:33 AM
$remove($didtok($dname,6,13),$cr) did the trick. Thanks man. Great idea.
© mIRC Discussion Forums