You need a space between if statement and bracket
This ..
if (($nick == putnickhere) && (puttexthere isin $1-)){
Should be this ..
if (($nick == putnickhere) && (puttexthere isin $1-)) {
other than that it looks fine
Edit:
Also, if you want to match the exact word, you could use this ..
if (($nick == putnickhere) && ($istok($1-,putwordhere,32))) {
Or, you could use mIRC built in highlighting which will play a sound if you set it to do so, mIRC Options > IRC > Highlight
Last edited by r0ck0; 18/09/03 01:41 PM.