mIRC Home    About    Download    Register    News    Help

Print Thread
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

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Options > IRC > Show in active: notices ?

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

Joined: Jan 2007
Posts: 1,156
D
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.

Joined: Jul 2008
Posts: 236
S
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.

Link Copied to Clipboard