mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#28265 05/06/03 08:07 AM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
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.



mInXX
#28266 05/06/03 08:14 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
#28267 05/06/03 09:34 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
:tongue:

#28268 05/06/03 12:31 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#28269 08/06/03 10:12 AM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
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


mInXX
#28270 08/06/03 11:14 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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

#28271 08/06/03 12:22 PM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
thanks for that smile
What i was wondering is IF i can set diff colour ( or color ) backgrounds for each diff channel im in


mInXX
#28272 08/06/03 08:00 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
#28273 08/06/03 08:02 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
#28274 10/06/03 07:43 AM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
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


mInXX
#28275 10/06/03 08:14 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
#28276 10/06/03 08:45 AM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
how do i activate it???
confused


mInXX
#28277 10/06/03 08:46 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
right click a channel window, and select "change background color" >:D Then click "set" Viola!


-KingTomato
#28278 10/06/03 08:47 AM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
oooooooops sorry, i ignore last post smile
King Tomato you're a legend
*hail oh king tomato* grin


mInXX
#28279 10/06/03 08:51 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I've lways been a legend (in my own mind) grin glad to help


-KingTomato
#28280 10/06/03 08:52 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
btw, my next addition, im working on making so u can use a color or a custom background >:D


-KingTomato
#28281 10/06/03 08:53 AM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
* /background: no such file 'D:\mInXX^script\bg\.bmp' (line 41, bg1)
i think ive done something wrong??


mInXX
#28282 10/06/03 06:10 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
#28283 10/06/03 06:23 PM
Joined: Jun 2003
Posts: 13
M
minxx Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2003
Posts: 13
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


mInXX
#28284 10/06/03 06:46 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
Page 1 of 2 1 2

Link Copied to Clipboard