mIRC Homepage

$nick on ON TEXT # help

Posted By: _entropy

$nick on ON TEXT # help - 31/01/20 03:27 AM

I have an away script that notices the person that i am away if they mention my nickname in a channel.

This works for noticing the person, but it also notices me! Please test and see for yourself.
Posted By: Protopia

Re: $nick on ON TEXT # help - 31/01/20 09:25 AM

It would help if you posted the script you use.
Posted By: _entropy

Re: $nick on ON TEXT # help - 31/01/20 09:15 PM

Code im using:

Code
on *:text:*:#:{
  if ($istok($1-,$me,32)) { 
    .notice $nick You said my name on channel message!
  }
}
Posted By: Protopia

Re: $nick on ON TEXT # help - 01/02/20 11:09 AM

Try:
Code
on *:text:*:#:{
  if ($istok($1-,$me,32) && ($nick != $me)) { 
    .notice $nick You said my name on channel message!
  }
}
© 2020 mIRC Discussion Forums