mIRC Homepage
Posted By: Joe_Astor Changing Default Brackets Etc In mIRC... - 03/11/05 04:57 PM
I was wondering if there was a way that you could change the default brackets surrounding nicks in mIRC...
For example changing;

<nick> Text said here

...to anything else the user wanted, like;

(nick) Text said here, or
{nick} Text said here

And so on and so forth...without having to use on text and echo events? confused

I've tried several scripts that use different outputs as such, but I've found whenever you use /say or /msg - it shows the default < > brackets and looks out of place with the rest of the display. frown
Quote:
I was wondering if there was a way that you could change the default brackets surrounding nicks in mIRC......without having to use on text and echo events?


Nope.

Quote:
've tried several scripts that use different outputs as such, but I've found whenever you use /say or /msg - it shows the default < > brackets and looks out of place with the rest of the display.


Use the ON INPUT event, /help on input.

Regards,
Click

If you want to have the output also formatted when issuing the /say or /msg commands, you'll have to script custom aliases.
Code:
alias say .msg $active $$1- | echo -artc own $+(&lt;&lt;,$me,&gt;&gt;) $1- 
[color:red][/color]
alias msg {
  .msg $1 $$2-
  if ($show) {
    if ($window($1)) echo -trc own $1 $+(&lt;&lt;,$me,&gt;&gt;) $2-
    if ($query($1)) echo -ts -&gt; $+(*,$1,*) $2-
  }
}

Note these are just examples...
© mIRC Discussion Forums