egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

stats.mod background color

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Liqourice
Voice


Joined: 03 Apr 2008
Posts: 3

PostPosted: Thu Apr 03, 2008 10:52 am    Post subject: stats.mod background color Reply with quote

Hi.

I can't find how to set the background and text color for the livestats. The default orange bgcolor is horrible.
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Thu Apr 03, 2008 3:21 pm    Post subject: Reply with quote

stats.conf
Code:
# NOTE:
# table-color and fade-table-color are hex numbers which represent a rgb color.
# If you do not know how to use this format, either use the default or ask
# someone who knows it. (it's the HTML-standard-format)

# the background color of your table
set table-color 0x7f0000

# fade table color to another color
set fade-table-to 0x00004f

# border width of the table (0 == no border, which is probably the best)
set table-border 0

You DO NOT load the module itself, you source the stats.conf in your scripts section and it in turn, loads the stats mod.
Code:
######
#####
###   General Settings
#####
######

# the file where the data is stored
# WARNING: Always set this var _before_ the module is loaded, or it won't
# find your stats.
set statsfile "statsmod.dat"

# load the module itself
loadmodule stats
Back to top
View user's profile Send private message
Liqourice
Voice


Joined: 03 Apr 2008
Posts: 3

PostPosted: Thu Apr 03, 2008 3:27 pm    Post subject: Reply with quote

That's what I've done.

But the conf only has settings for table bgcolors, not the background of the entire page.. and that's what I want to know.

As well as what the setting is for text-color.
Back to top
View user's profile Send private message
Liqourice
Voice


Joined: 03 Apr 2008
Posts: 3

PostPosted: Thu Apr 03, 2008 3:40 pm    Post subject: Reply with quote

Never mind, I found those settings in the .lang file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber