mIRC Homepage
Posted By: Powerkiting Problem with a variable - 26/06/04 05:06 PM
Hi,

I have a textfield, i fill the field with 2 rows text.

Then i have:

/set %var $did(dialog,1).text

When i check the var only the first text row is in it...

Hope you understand me, because me english is bad...
Thnx!
Posted By: Scorpwanna Re: Problem with a variable - 26/06/04 05:23 PM
eh you could probably use an alias with a while loop like:

alias blah {
var %i = 1
var %end = $did(dialog,1).lines
var %results
while (%i <= %end) {
var %results = %results $did(dialog,1,%i).text
inc %i
}
set %var %results
}
© mIRC Discussion Forums