mIRC Home    About    Download    Register    News    Help

Print Thread
Request for /color <@window> command #201396 27/06/08 12:47 PM
Joined: Jun 2008
Posts: 2
E
eduz Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
E
Joined: Jun 2008
Posts: 2
(Sorry for my poor english).

Hi there, I need a command to change the palettes color for a SINGLE Picture Window.

Example: I have a picture window called @Example1 and I want to change a palette color only for @Example1 and not for mIRC global settings.
So, I will do:
Syntax: //color <@window> <num> <color>
Example: //color @Example1 7 65535

Re: Request for /color <@window> command [Re: eduz] #201398 27/06/08 01:30 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Would it not be simpler to use the existing RGB colour support for picture windows?

For example:
//drawdot -r [color:red]@Example1 65535[/color] 10 10 10
//drawdot -r [color:red]@Example1 $rgb(100, 200, 50)[/color] 10 10 10

This way you don't have to deal with palettes at all.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: Request for /color <@window> command [Re: starbucks_mafia] #201400 27/06/08 01:42 PM
Joined: Jun 2008
Posts: 2
E
eduz Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
E
Joined: Jun 2008
Posts: 2
No, sorry. In my case, I need it for /drawtext and /drawtext must use the palettes colors. (My engine reads from an external file and in the file there are texts like 2Hello).