mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 7
J
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
Joined: Jun 2003
Posts: 5,024
M
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
Joined: Feb 2004
Posts: 2,019
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.

Link Copied to Clipboard