mIRC Home    About    Download    Register    News    Help

Topic Options
#215791 - 07/10/09 02:58 PM /notice display in channel window
Ninko Offline
Vogon poet

Registered: 29/06/04
Posts: 139
Loc: England, UK
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

Top
#215792 - 07/10/09 03:00 PM Re: /notice display in channel window [Re: Ninko]
5618 Offline
Hoopy frood

Registered: 18/06/07
Posts: 933
Options > IRC > Show in active: notices ?

Top
#215793 - 07/10/09 03:48 PM Re: /notice display in channel window [Re: 5618]
Ninko Offline
Vogon poet

Registered: 29/06/04
Posts: 139
Loc: England, UK
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

Top
#215798 - 07/10/09 09:37 PM Re: /notice display in channel window [Re: Ninko]
DJ_Sol Offline
Hoopy frood

Registered: 04/01/07
Posts: 1156
Loc: Seattle
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.

Top
#215863 - 11/10/09 04:55 PM Re: /notice display in channel window [Re: Ninko]
s00p Offline
Fjord artisan

Registered: 01/07/08
Posts: 236
Loc: Hell, Australia
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-
}


Edited by s00p (11/10/09 04:55 PM)

Top