mIRC Home    About    Download    Register    News    Help

Print Thread
/notice display in channel window #215791 07/10/09 01:58 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Hi there,
When using the /notice command, how do you have it display the message in a certain channel window, rather then in the Status window, or is that not really possible?

Thanks


Ninko

Re: /notice display in channel window [Re: Ninko] #215792 07/10/09 02:00 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Options > IRC > Show in active: notices ?

Re: /notice display in channel window [Re: 5618] #215793 07/10/09 02:48 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Hi 5618,
No sorry that don't work. This is regarding a /notice responce from a script, not using the /notice command yourself.

Thanks


Ninko

Re: /notice display in channel window [Re: Ninko] #215798 07/10/09 08:37 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
on ^*:notice:*:#:{
echo -a notice: $rawmsg
haltdef
}

Does it show what channel it was sent from in the rawmsg? You can use the notice event then echo it to whatever window you like.

Re: /notice display in channel window [Re: Ninko] #215863 11/10/09 03:55 PM
Joined: Jul 2008
Posts: 236
S
s00p Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Jul 2008
Posts: 236
A script can only modify the behaviour of the copy of mIRC that it is loaded into.

Redirect all private notices to the #help window:
Code:
on 1:NOTICE:*:?: {
  var %nick = $(-,$nick,-)
  echo $color(notice) #help %nick $1-
}


Redirect all private notices to the active window:
Code:
on 1:NOTICE:*:?: {
  var %nick = $(-,$nick,-)
  echo $color(notice) $active %nick $1-
}

Last edited by s00p; 11/10/09 03:55 PM.