mIRC Homepage
Posted By: FroggieDaFrog $bfind(&bvar,pos,match1,match2,etc) - 02/08/10 06:13 AM
Sense $bfind doesn't support wildcards, It would be nice if there was an "or" sort of function.
Code:
echo -a $bfind(&var,n,this,that,thethird)
;This would echo the position of the first 
;match of either "this", "that" or "thethird" starting at the nth byte
;(which ever occurs first)

Currently I'm trying to handle a quite large bvar and have to cycle through it to handle all matches of texta, then all matches of textb, etc, and it doesn't "freeze" mIRC but if I were to add 2 or 3 more queries to find, there will be an annoying pause.
© mIRC Discussion Forums