mIRC Homepage
Posted By: aztec if isin - 17/07/04 12:41 PM
Hi,
I use a simple remote to /notice me to active window if someone is speaking to me (helpful if you got lots of windows open)

on 1:text:*aztec*:#: { notice $me $nick said aztec in $chan at $time }

Problem is that I spend most time in a quiz, and I want to change this so that it won't trigger when "Quizbot" says my name, but can't find correct format for this.

Any help would be much appreciated cool

Aztec.
Posted By: tidy_trax Re: if isin - 17/07/04 12:56 PM
Code:
on *:text:$($+(*,$me,*)):#:{ if ($nick != Quizbot) notice $me $nick said $me in $chan at $time }
Posted By: aztec Re: if isin - 17/07/04 03:08 PM
Brilliant, Cheers !! ... can I make it also ignore other quiz bots in other rooms I use too?

Aztec.
Posted By: tidy_trax Re: if isin - 17/07/04 04:12 PM
Code:
on *:text:$($+(*,$me,*)):#:{ if (!$istok(Quizbot [color:red]Quizbot2[/color] [color:red]Quizbot3[/color] [color:red]Quizbot4[/color],$nick,32)) notice $me $nick said $me in $chan at $time }


Change the parts in red to whatever you like, you can add as many nicknames as you like (within reason)
Posted By: aztec Re: if isin - 17/07/04 04:28 PM
Thanks again - never would have gotten that in a million years! cool smile cool

Aztec.
Posted By: aztec Re: if isin - 17/07/04 09:03 PM
Ok, here goes again! lol
Firstly, what you gave me before was perfect, exactly what I wanted. And now maybe I'm gettin greedy/silly, but mebbe you like a challenge! lol.

Could you make it so that instead of just telling me that someone said my nick it tells me what they said also? But only if they didn't say it in my active window?

Tell me to clear off if you want :tongue: lol

Aztec.
Posted By: FiberOPtics Re: if isin - 17/07/04 09:47 PM
Hi,

Code:
  
on *:TEXT:$($+(*,$me,*)):#: if # != $active && !$istok(Quizbot Quizbot2 Quizbot3 Quizbot4,$nick,32) { echo -a $nick said $1- in # at $time }


Greets


Edit: Changed notice to echo -a, cuz there's no reason to have this message be sent from you to the server to you again, when you can simply echo it.
Posted By: aztec Re: if isin - 18/07/04 12:14 AM
Now... that is very cool! Thanks smile

Aztec.

I wish I was a glow-worm. A glow-worm's never glum..
How can you be grumpy.. when the sun shines out your bum.
© mIRC Discussion Forums