mIRC Homepage
I need to make a script that automatically kills any user that joins a particular channel. I have that much working, but how do I exclude myself?

This is what I have now.

on *:join:#spambotsgohere:{
kill $nick No spamming on this server
}
from the help file

The ! prefix
You can prevent an event from being triggered if it was initiated by you by using the ! prefix.

ctcp !2:HELP:*:/msg $nick You have accessed a level 2 event

Thanks. Worked perfectly.
Even though there's already an alternate here,
Code:
 
on *:join:#spambotsgohere:{
  if ($nick != $me) {
    kill $nick No spamming on this server
  }
}
 
© mIRC Discussion Forums