mIRC Homepage
Posted By: sparta return ) true dialog - 23/09/10 02:33 PM
I have a combo, and i list different char's. and i can return everyone but ) $chr(41), it return nothing, the chars i list in the combo is:
Code:
    did -a $dname 7 $chr(60)
    did -a $dname 7 $chr(62)
    did -a $dname 7 $+($chr(60),$chr(60))
    did -a $dname 7 $+($chr(62),$chr(62))
    did -a $dname 7 $chr(171)
    did -a $dname 7 $chr(187)
    did -a $dname 7 $chr(40)
    did -a $dname 7 $chr(41)
    did -a $dname 7 $chr(176)
    did -a $dname 7 $chr(91)
    did -a $dname 7 $chr(93)
    did -a $dname 7 $chr(124)
    did -a $dname 7 $+($chr(126),$chr(176))
    did -a $dname 7 $+($chr(176),$chr(126))

and the code $gettok($did(7,$did(7).sel).text,1,41) return everything else from the combo. I also tested to use $eval(,N) but return nothing.
Posted By: Horstl Re: return ) true dialog - 23/09/10 02:53 PM
$***tok cannot return the char you use as token delimiter: $gettok(...,41).
Posted By: sparta Re: return ) true dialog - 23/09/10 03:01 PM
Thnx, didn't think of that smile
Posted By: hixxy Re: return ) true dialog - 23/09/10 09:13 PM
Why use $gettok() here anyway? None of the stuff you're adding to the combo list has a ) in it so there's no need for that $gettok.
Posted By: sparta Re: return ) true dialog - 24/09/10 05:28 PM
dont know why, just ended up that way.
© mIRC Discussion Forums