Code:
on *:text:~*:#channel: {
  var %search1 $replace($gettok($1-,1,32),~,$null)
  var %search2 $gettok($1-,2,32)
  var %line 1
  While ( $read(E:\feisu\mIRC\feisu.ini, %line) != Null) {
    if (%search1 isin $read(E:\feisu\mIRC\feisu.ini,%line)) || (%search2 isin $read(E:\feisu\mIRC\feisu.ini,%line)) {
      msg $chan $gettok($read(E:\feisu\mIRC\feisu.ini,%line),2,61)
      halt
    }
    echo -a found in line %line
    inc %line
  }
} 
 


this is my mrc.and here is ini below
Code:
 
Gosdsip.Gdirl=USA
girl=bbs


whne I have ablow ini and type ~gossip girl in other mirc. this mirc returns

Code:
[xx:xx] <@nick1> ~gossip girl
found in line 1
[xx:xx] <@nick2> bbs
 


but when my ini become
Code:
Gosdsip.Gdirl=USA 


the mirc crash .with only 1 line:P

Last edited by feisu; 21/06/09 09:45 AM.