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 

BogusTrivia: Colors of Random Lines

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Mon Aug 31, 2015 4:51 pm    Post subject: BogusTrivia: Colors of Random Lines Reply with quote

# random ad lines. one ad per line. as many as you want (no limit) #
## Random Lines Below ##

How do I change the color is white with black background for white with red background ?

Only random lines, otherwise I like it like this .

Thanks
_________________
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks Smile
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Mon Aug 31, 2015 11:48 pm    Post subject: Reply with quote

I will help you hand edit the script to slightly change the colors for a preset color theme.

What color theme number are you currently using?
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Wed Sep 02, 2015 9:43 pm    Post subject: Reply with quote

SpiKe^^ wrote:
I will help you hand edit the script to slightly change the colors for a preset color theme.

What color theme number are you currently using?

default theme colors, white on black background

I desire white on red background, only for random lines.
_________________
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks Smile
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Thu Sep 03, 2015 6:39 pm    Post subject: Reply with quote

You can edit any and all of the preset color themes in the proc TDoClr

The default theme is the last one in the if/elseif/else conditional statement,
under the else-clause

Search for this line in the t-2.tcl file...
Code:
  -tu1 \003 -tu2 \00310 -randad \00300,01
... and change the colors code for randad to be white on red background (\00300,04), like this...
Code:
  -tu1 \003 -tu2 \00310 -randad \00300,04


Save & rehash, and there ya go.
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Thu Sep 03, 2015 9:12 pm    Post subject: Reply with quote

SpiKe^^ excellent , worked well , thanks Very Happy
_________________
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks Smile
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 -> Script Requests 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