mIRC Home    About    Download    Register    News    Help

Print Thread
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

Joined: Dec 2002
Posts: 2,962
S
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.
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).


Link Copied to Clipboard