mIRC Home    About    Download    Register    News    Help

Print Thread
Font Colour Setup #249326 24/11/14 09:15 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
I want to set the text font to write at channel in the bold orange by default, without having to do each line with Control K7 and Control bold
How is it done?

Re: Font Colour Setup [Re: JuanAm] #249329 24/11/14 10:39 PM
Joined: Mar 2010
Posts: 145
Masoud Offline
Vogon poet
Offline
Vogon poet
Joined: Mar 2010
Posts: 145
Code:
/help ON INPUT


Nothing...
Re: Font Colour Setup [Re: JuanAm] #249334 24/11/14 11:56 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Here's how I would do it.
Code:
on *:input:#:  { emsg # $1- | halt }
alias emsg msg $1 7 $+ $2-
For all your other scripts, you will need to update this to not use "msg #" but "emsg #" instead.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Font Colour Setup [Re: Nillen] #249335 25/11/14 12:17 AM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: Nillen
Here's how I would do it.
Code:
on *:input:#:  { emsg # $1- | halt }
alias emsg msg $1 7 $+ $2-
For all your other scripts, you will need to update this to not use "msg #" but "emsg #" instead.


I put this code in one remote, and modified this line the another remote:
Code:
emsg # $effect(%nick) 7 $2-  


Results:
Quote:
<pepito> 763.11136`94.131 Peter 73.11136`94.111 7 hola estas?? 
<pepito> 7Peter hola estas??

Repeats the message



Re: Font Colour Setup [Re: JuanAm] #249336 25/11/14 01:06 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
What if you remove the code and just use the built-in color feature? - View>Colors, View>Fonts


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Font Colour Setup [Re: Nillen] #249337 25/11/14 01:16 AM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: Nillen
What if you remove the code and just use the built-in color feature? - View>Colors, View>Fonts


That he had already tried, but changing Owntext and Normal text to orange color, I see what I write in orange, but other users still see me in black. Also do not see me in bold, when I select the Select Font style.

Re: Font Colour Setup [Re: JuanAm] #249338 25/11/14 02:11 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Ok, try this. Create a new remote file and paste this code:
Code:
on &*:input:#:  { 
  if ($left($1,1) == /) $1-
  else {
    if (!$halted) { 
      emsg # $1- 
      halt
    }
  }
}
alias emsg msg $1 7 $+ $2-
Make sure that this is in the LAST order all the time, otherwise you will send two messages when using another on input event.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Font Colour Setup [Re: Nillen] #249339 25/11/14 04:16 AM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: Nillen
Ok, try this. Create a new remote file and paste this code:
Code:
on &*:input:#:  { 
  if ($left($1,1) == /) $1-
  else {
    if (!$halted) { 
      emsg # $1- 
      halt
    }
  }
}
alias emsg msg $1 7 $+ $2-

Make sure that this is in the LAST order all the time, otherwise you will send two messages when using another on input event.


Works perfectly! Thank you smile