mIRC Home    About    Download    Register    News    Help

Print Thread
P
pishposh
pishposh
P
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,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
use a dot infromt of the notice.. /.notice text

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
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.

Joined: Feb 2011
Posts: 471
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 471
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,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
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.

P
pishposh
pishposh
P
Thanks, guys!


Link Copied to Clipboard