mIRC Home    About    Download    Register    News    Help

Print Thread
On Notice question #225326 30/08/10 05:48 PM
Joined: Dec 2007
Posts: 24
T
Tzar469 Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2007
Posts: 24
Is there an identifier that returns the channel on which the notice is received?

Re: On Notice question [Re: Tzar469] #225328 30/08/10 05:57 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
If it was a channel notice: $chan

Re: On Notice question [Re: 5618] #225329 30/08/10 06:06 PM
Joined: Dec 2007
Posts: 24
T
Tzar469 Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2007
Posts: 24
Ah, thanks.

I'm also looking for an identifier for the private notice as well; $chan doesn't work and $target returns $me frown
(This is for a theme script that I'm making.)

Last edited by Tzar469; 30/08/10 06:07 PM.
Re: On Notice question [Re: Tzar469] #225330 30/08/10 06:13 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
You probably just want $nick as target in that case.

Re: On Notice question [Re: 5618] #225334 30/08/10 07:14 PM
Joined: Dec 2007
Posts: 24
T
Tzar469 Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2007
Posts: 24
Thanks for your replies. I've got it worked out now smile