mIRC Homepage
Posted By: sparta return text - 01/01/07 10:00 PM
How can you return the text in a "list" of a dialog, and that without highlight the text ? is it possible? $did(dialog,id).sel will only return it if it's highlighted.. "clicked on".
Posted By: b1ink Re: return text - 01/01/07 10:25 PM
$did(dialog,id).seltext
Posted By: sparta Re: return text - 01/01/07 10:28 PM
As i wrote, $did(dialog,id).seltext - $did(dialog,id).sel <<-- will only return the text when clicked on, i want to return the first line from the sell text without click or highlight it.
Posted By: Kurdish_Assass1n Re: return text - 01/01/07 10:59 PM
you can use this:
Quote:

//echo -a $did(<Dialog-Name>,<listid>,<the # of the word/phrase>)

;-----Example:
//echo -a $did(Test-dialog,1,2)
would return the second word of the dialog "Test-Dialog' in the list.
Posted By: Riamus2 Re: return text - 02/01/07 03:24 AM
To build off of that, if you want the entire list, use a while loop and loop through $did($dname,$did,%var) from 1 to $did($dname,$did).lines.
© mIRC Discussion Forums