mIRC Home    About    Download    Register    News    Help

Print Thread
#90792 17/07/04 12:41 PM
A
aztec
aztec
A
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.

#90793 17/07/04 12:56 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Code:
on *:text:$($+(*,$me,*)):#:{ if ($nick != Quizbot) notice $me $nick said $me in $chan at $time }

#90794 17/07/04 03:08 PM
A
aztec
aztec
A
Brilliant, Cheers !! ... can I make it also ignore other quiz bots in other rooms I use too?

Aztec.

#90795 17/07/04 04:12 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
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)

#90796 17/07/04 04:28 PM
A
aztec
aztec
A
Thanks again - never would have gotten that in a million years! cool smile cool

Aztec.

#90797 17/07/04 09:03 PM
A
aztec
aztec
A
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.

#90798 17/07/04 09:47 PM
Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
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.

Last edited by FiberOPtics; 17/07/04 10:29 PM.
#90799 18/07/04 12:14 AM
A
aztec
aztec
A
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.


Link Copied to Clipboard