mIRC Home    About    Download    Register    News    Help

Print Thread
#266773 31/01/20 03:27 AM
Joined: Aug 2015
Posts: 70
Babel fish
OP Offline
Babel fish
Joined: Aug 2015
Posts: 70
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.


mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat
Joined: Aug 2003
Posts: 319
P
Pan-dimensional mouse
Offline
Pan-dimensional mouse
P
Joined: Aug 2003
Posts: 319
It would help if you posted the script you use.

Joined: Aug 2015
Posts: 70
Babel fish
OP Offline
Babel fish
Joined: Aug 2015
Posts: 70
Code im using:

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

Last edited by _entropy; 31/01/20 09:20 PM.

mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat
Joined: Aug 2003
Posts: 319
P
Pan-dimensional mouse
Offline
Pan-dimensional mouse
P
Joined: Aug 2003
Posts: 319
Try:
Code
on *:text:*:#:{
  if ($istok($1-,$me,32) && ($nick != $me)) { 
    .notice $nick You said my name on channel message!
  }
}


Link Copied to Clipboard