mIRC Homepage
Posted By: MTec89 did -c - 03/08/03 01:20 PM
i cant seem to get the 1st line in my list box to be highlighted
im using /did -c si 94 and i have tried different ways of it, but all it does is put a box around it, and not highlight it as i was wanting
Posted By: Watchdog Re: did -c - 03/08/03 01:58 PM
I would have thought that /did -c $did(si,94,1) would work but it appears that it doesn't in the tests I have done. I even tried to uncheck it with the -u switch, no go either. Maybe it is a bug if someone else doesn't have an answer?
Posted By: MTec89 Re: did -c - 03/08/03 02:01 PM
i hope not, i need this to be highlighted
Posted By: Watchdog Re: did -c - 03/08/03 02:04 PM
I'd like to know the answer myself, so we can wait together, ay. grin
Posted By: Nobodi Re: did -c - 03/08/03 02:31 PM
Try adding the line number in the listbox you want highlighted.
did -c si 94 1
Posted By: MTec89 Re: did -c - 03/08/03 02:33 PM
yup, thanks man
Posted By: Watchdog Re: did -c - 03/08/03 02:46 PM
Low and behold it bloody works, thankyou. laugh
Posted By: KingTomato Re: did -c - 03/08/03 08:54 PM
just fyi, -c works as a select for line number, no content--though imo it should allow you to type a string (like in the /cline to coloring a nicklist)
Posted By: qwerty Re: did -c - 04/08/03 08:35 AM
That's why $didwm was added: //did -c $dname 100 $didwm($dname,100,Some text here)

However, I wouldn't mind about a new switch, if that's what you mean. Maybe
/did -cw $dname 100 Some text here
to select the line that matches "Some text here"
and also
/did -dw $dname 100 Some text here
to delete the line etc
Posted By: lammkott Re: did -c - 04/08/03 09:38 PM
I think that it would be better like this...
/did -cw $dname 100 "Some text here", N
Where N has the same function as N in $didwm
Posted By: KingTomato Re: did -c - 05/08/03 07:30 AM
comma delimieted wouldnt be practical (imo) as it would limit you from using commans in ur values.
© mIRC Discussion Forums