mIRC Home    About    Download    Register    News    Help

Print Thread
#142971 20/02/06 02:12 PM
Joined: Feb 2006
Posts: 2
B
BK9666 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Feb 2006
Posts: 2
is there a way to search for text in the buffer (status window) and return $true or $false if the text is found ?

#142972 20/02/06 02:14 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
you use $fline to search windows buffers smile


$maybe
#142973 20/02/06 02:14 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
//echo -a $iif($fline(status window,*[color:red]text[/color]*,1),$true,$false)

#142974 20/02/06 02:38 PM
Joined: Feb 2006
Posts: 2
B
BK9666 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Feb 2006
Posts: 2
thank you both very much


Link Copied to Clipboard