mIRC Home    About    Download    Register    News    Help

Print Thread
Changing Default Brackets Etc In mIRC... #134664 03/11/05 04:57 PM
Joined: Oct 2003
Posts: 7
J
Joe_Astor Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Oct 2003
Posts: 7
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


When Joe Astor Hits The Street,
The Hottest Thing On Wheels Isnt Always The Car
Re: Changing Default Brackets Etc In mIRC... #134665 03/11/05 05:30 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
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,


Mentality/Chris
Re: Changing Default Brackets Etc In mIRC... #134666 03/11/05 06:50 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
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...


Gone.