mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2006
Posts: 167
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Aug 2006
Posts: 167
When sending a /notice to someone else, this appears:

-> -TheirNick- Your_text_here

Is there any ^event which can be used to intercept this (so you can echo it to the current window in your own customized way)? Or is ^INPUT the only possible way?

Thanks.

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
use a dot infromt of the notice.. /.notice text


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yeah, use on INPUT to change the appearance and use .notice to silence the actual output that you're sending to the server so you only see your custom output.


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2011
Posts: 450
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 450
I use a little piece of code to change it.
Just place this in the Aliases tab.

Code:
; Created by jaytea
; The "4" is the CTRL+K number to change the color.
notice .notice $1- | echo 4 -eat -> $+(-, $1, -) $2-

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Good point. Creating an alias is an alternative to using on INPUT if you're using /commands. For anything other than commands, on INPUT would be how you'd handle it. Because aliases are already commands, you can use them the same way as you'd use the normal command. Anything else could still be done with an alias, but you'd have to use it as a command instead of however you might normally use it.


Invision Support
#Invision on irc.irchighway.net
Joined: Aug 2006
Posts: 167
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Aug 2006
Posts: 167
Thanks, guys!


Link Copied to Clipboard