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

5
5618
5618
5
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,155
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,155
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.

S
s00p
s00p
S
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