mIRC Homepage
Posted By: minxx Colours - 05/06/03 08:07 AM
I was wondering if there is anyway you could add new colours or even make a custom colour palette.
It would also be wicked if there was an option that allows users to set the background colour of each different channel they are in.

Posted By: KingTomato Re: Colours - 05/06/03 08:14 AM
A) Press alk+k (color dialog) and right click on a color (Sorry watchdog) box. Form there you can alter each number.

B) /help /background
>:D
Posted By: Watchdog Re: Colours - 05/06/03 09:34 AM
:tongue:
Posted By: Raccoon Re: Colours - 05/06/03 12:31 PM
See this post. Incidentally, this and other color suggestions have been brought up numerious times in recent days. Some of these ideas may interest you.

- Raccoon
Posted By: minxx Re: Colours - 08/06/03 10:12 AM
Thanks for telling me to change colours smile
i typed /help /background as you suggested, but im not sure what i have to type exactly for the background to change. sorry to be a pain, but its frustrating me laugh
Helllllp wink confused
Posted By: Watchdog Re: Colours - 08/06/03 11:14 AM
Type /colour background 3

The background should change to green.

Type /colour background 0

Now it should change back to plain white.

Colour numbers are

0 White
1 Black
2 Navy Blue
3 Green
4 Red
5 Brown
6 Purple
7 Orange
8 Yellow
9 Light Green
10 Cyan
11 Light Blue
12 Dark Blue
13 Fuchsia (Pink)
14 Dark Grey
15 Light Grey

The /colour command will work as "/colour" the correct spelling or "/color" the incorrect spelling, just depends on where you are and what you are used to. grin
Posted By: minxx Re: Colours - 08/06/03 12:22 PM
thanks for that smile
What i was wondering is IF i can set diff colour ( or color ) backgrounds for each diff channel im in
Posted By: KingTomato Re: Colours - 08/06/03 08:00 PM
err, nvm -- the background is uniform the the other channels-- I think i can get by it with images tho--give me a sec >:D
Posted By: KingTomato Re: Colours - 08/06/03 08:02 PM
Okay, finally got it!

----------------------------------------------------------------------

Assign %bgcolor.<channel> the background color and it will (or should) change the background. If you'd like a popup to help, here ya go:

Code:
on 1:JOIN:#: {
  if ($nick == $me) &amp;&amp; (%bgcolor. [ $+ [ $chan ] ] != $null) /background -f bg\ $+ %bgcolor. [ $+ [ $chan ] ] $+ .bmp
}

alias bgcolor {
  if ($dialog(bgcolor)) /dialog -vie bgcolor bgcolor
  else /dialog -m bgcolor bgcolor
}

dialog bgcolor {
  title "Background Color"
  size -1 -1 120 25
  option dbu
  box "Assign Background Color (&lt;chan&gt;)", 1, 0 0 120 25
  combo 10, 5 10 60 50, size drop
  button "Set", 20, 65 10 25 10, okay
  button "Cancel", 30, 90 10 25 10, cancel
}

on 1:DIALOG:bgcolor:INIT:*: {
  /set %bgchan $active
  /did -ra $dname 1 $replace($did(1), &lt;chan&gt;, %bgchan)

  ; set colors
  /did -a $dname 10 0 - White
  /did -a $dname 10 1 - Black
  /did -a $dname 10 2 - Dark Blue
  /did -a $dname 10 3 - Dark Green
  /did -a $dname 10 4 - Red
  /did -a $dname 10 5 - Dark Red
  /did -a $dname 10 6 - Violet
  /did -a $dname 10 7 - Orange
  /did -a $dname 10 8 - Yellow
  /did -a $dname 10 9 - Light Green
  /did -a $dname 10 10 - Cyan
  /did -a $dname 10 11 - Teal
  /did -a $dname 10 12 - Blue
  /did -a $dname 10 13 - Pink
  /did -a $dname 10 14 - Dark Gray
  /did -a $dname 10 15 - Gray
  if (%bgcolor. [ $+ [ %bgchan ] ] != $null) /did -c $dname 10 $calc(%bgcolor. [ $+ [ %bgchan ] ] + 1)
  else /did -c $dname 10 1
}

on 1:DIALOG:bgcolor:SCLICK:20: {
  /set %bgcolor. [ $+ [ %bgchan ] ] $calc($did(10).sel - 1)
  /background -f %bgchan bg\ $+ %bgcolor. [ $+ [ $chan ] ] $+ .bmp
  /unset %bgchan
}

on 1:DIALOG:bgcolor:CLOSE: {
  /unset %bgchan
}

menu channel {
  Change Background Color: /bgcolor
}


Also, here is the zip of all the colors. Make a folder in your mirc directory called "bg", and place 0.bmp~15.bmp in there. The script will do the rest. >:D
Posted By: minxx Re: Colours - 10/06/03 07:43 AM
sorry to be a pain in the butt, where do i paste the script u gave me.
i made the bg folder and unzipped the bg zip file to there smile
i must be so frustrating hehe
Posted By: KingTomato Re: Colours - 10/06/03 08:14 AM
np, the mirc script itself can go anywhere in the remotes section (press alt+r). The only important location is that the bmp's go into the bg folder in your mirc directory. >:D
Posted By: minxx Re: Colours - 10/06/03 08:45 AM
how do i activate it???
confused
Posted By: KingTomato Re: Colours - 10/06/03 08:46 AM
right click a channel window, and select "change background color" >:D Then click "set" Viola!
Posted By: minxx Re: Colours - 10/06/03 08:47 AM
oooooooops sorry, i ignore last post smile
King Tomato you're a legend
*hail oh king tomato* grin
Posted By: KingTomato Re: Colours - 10/06/03 08:51 AM
I've lways been a legend (in my own mind) grin glad to help
Posted By: KingTomato Re: Colours - 10/06/03 08:52 AM
btw, my next addition, im working on making so u can use a color or a custom background >:D
Posted By: minxx Re: Colours - 10/06/03 08:53 AM
* /background: no such file 'D:\mInXX^script\bg\.bmp' (line 41, bg1)
i think ive done something wrong??
Posted By: KingTomato Re: Colours - 10/06/03 06:10 PM
What did you do to get the error just change the background? I have it installed, and running it now--no such errors. infact, I installed it twice by accident, and the only thing that happened was I got a double list of colors >:F
Posted By: minxx Re: Colours - 10/06/03 06:23 PM
i had the box to change colour, i chose the colour, clicked on set, and got that error.
also when i tried to copy and paste the script, it saved as all one line, so i had to paste it line by line
confused
Posted By: KingTomato Re: Colours - 10/06/03 06:46 PM
ahh, thats the problem..
I recomresed the zip with everything in it (images and .mrc file) try it now: http://www.kingtomato.com/files/background.zip
Posted By: minxx Re: Colours - 11/06/03 03:33 AM
when i unzip to main mirc folder, it unzips a bg folder, inside the bg folder is another bg folder, anyway i loaded the .mrc file but i got this error
* /load: invalid switch
Posted By: minxx Re: Colours - 11/06/03 05:08 PM
Just wanted to say thanks KingTomato
It was a great help being talked through it and it works great!!
Not sure what you're working on now, but whatever it is, you know where to find me wink
Once again, thanks
© mIRC Discussion Forums