Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

3 877 Posts in 868 Topics- by 723 Members - Latest Member: tablarock

23 May 2012, 16:05
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumKVIrc discussionConfiguration problemsChange my text color
Pages: [1]
Print
Author Topic: Change my text color  (Read 3825 times)
0 Members and 2 Guests are viewing this topic.
Caprianupam
Новичок
*

Репутация: 0
Gender: Male
Posts: 11

anupamshriwatri@yahoo.co.in
View Profile
« on: 13 September 2010, 16:27 »

Hi,

Is there a feature in Kvirc, to change the color of my text which outputs in the channel?

I know I can change text color by pressing Ctrl+K, and selecting a color. But, that works for only one sentence. How can I make it permanent, so that I do not have to choose everytime? I looked in Kvirc settings, and even theme settings, but cannot find anything.

If this feature is not present in Kvirc, I would like to see this feature Smiley.

Keep up the good work with Kvirc, its my luck that I came across it. Its wonderful.

Thanks.
Logged
ambossarm
Постоялец
***

Репутация: 11
Gender: Male
Posts: 113



View Profile
« Reply #1 on: 13 September 2010, 16:35 »

if you want it for all ppl you have to write a "script" (1 line) in the event handlers, $k is the function for color.

But if you do that in a channel where I have op you will be banned after 2 lines!




If you want it only for yourself (not like ctrl k) you may change it in the theme settings
Logged
Caprianupam
Новичок
*

Репутация: 0
Gender: Male
Posts: 11

anupamshriwatri@yahoo.co.in
View Profile
« Reply #2 on: 19 September 2010, 13:16 »

if you want it for all ppl you have to write a "script" (1 line) in the event handlers, $k is the function for color.

But if you do that in a channel where I have op you will be banned after 2 lines!

Yes, I want it for all people to see in a channel. Can you please tell what line do I have to write to achieve this, and where?

Don't worry I won't use it on a channel where you are OP Cheesy. I need it for ICQ Smiley.

Thanks for the help.

I know about the theme setting. But, it means only I will be able to see that. I want all to see the color.
Logged
ambossarm
Постоялец
***

Репутация: 11
Gender: Male
Posts: 113



View Profile
« Reply #3 on: 19 September 2010, 13:40 »

Event - OnTextInput

Code:
if (!$chan.isop(ambossarm)) {
   say $k(1,5)$0$k();
   halt;
}

$k(foregroundcolor,backgroundcolor)
$0 := message
halt := command to stop the origin input to be send, you "say" it in the script with color

the if checks if I am not OP, you might want to change it to something better
Logged
extio
Новичок
*

Репутация: 0
Posts: 1


View Profile
« Reply #4 on: 1 December 2011, 21:05 »

Thanks for that code.  i am brand new to linux, and kvirc is what i went with for using it on windows.

i dont know enough about scripting, but for icechat i had a color script that i could type " /colors 0,14 " and it would save the numbers and then put them in a script like this
i could type /colors off  or /colors on
and it would turn them on and off, but otherwise it worked just like this.

in some networks and rooms, like the one i frequent, we live life in color unlike ambs, network...

anyways if anyone makes a script like this, link it !
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic