
 Re: Help with mIRC script.
 
					
						Daman wrote:
#chan? What. Did you mean $chan(Which wouldn't work there)? Or is it actually a channel called #chan? For any channel it's #.
Also get on our IRC if you want real help besides me giving you the answers.
Code:
on *:TEXT:!search *:#: {
  if ( $read(list.txt, w, * $+ $2 $+ *) ) {
    /msg $chan This word is in my database.
  }
}
Thanks, that works(captain obvious no?).
The #chan was a generic channel, I'm making tests with some things and I don't want my scripts to kick in every time.
I'm on my way to irc now.