This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

How to make Color Questions?

Help for those learning Tcl or writing their own scripts.
Post Reply
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

How to make Color Questions?

Post by jurist111 »

Hello all how can i make color questions like below kindly any 1 help me

pink|BlueIce [React Fast!]: What color is this word written? white

red|BlueIce [React Fast!]: What color is this word written? japan

japan|[React Fast!]: GUESS THE COUNTRY

its in this format Answer|Question
JuRiSt
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

*Off topic*
Please refrain from posting multiple times the same question as it won't help at all.

*On topic*
Have you checked Colour and formatting codes?
Once the game is over, the king and the pawn go back in the same box.
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

Post by jurist111 »

First of all thanks for the reply and sorry for posting twice but dun knw how it went twice ...
on the link u gave didnt worked for me as no color appeared when i gave those codes in eggdrop question file which is in text format
can u plz guide me where i post my sample questions thanks
JuRiSt
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Just press Ctrl+K in your mIRC and copy cube from promtline. Add this symbol with colour code to your question file. Like this: 04Question.
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

Post by jurist111 »

hey username tht codes doesnt work in eggdrop by mistake i think i get this to work $4 it gives red color in just one word ... dun know wht to do n how to make color questions
JuRiSt
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

Post by jurist111 »

pink|BlueIce [React Fast!]: What color is this word written? white

red|BlueIce [React Fast!]: What color is this word written? japan

japan|[React Fast!]: GUESS THE COUNTRY -------

now my question is here i can create wht i want but when i copy paste this in trivia question file which is in .doc format it gives code not color like above .. how i can make color questions and shades???

[=darkred][React Fast!]: GUESS THE COUNTRY[/color] -------[/col
JuRiSt
r
raider2k
Op
Posts: 140
Joined: Tue Jan 01, 2008 10:42 am

Post by raider2k »

i still dont really get what you are after or is it so simple that you only like to do things like

Code: Select all

putserv "PRIVMSG $chan :This text is \002bold\002 and also in \00304color 4\003"
which appears as

This text is bold and also in color 4

on the channel of your choice?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

If you have bothered checking the link I previously mentioned you would have noticed this part:
There are three ways to represent the colour code.

\003
\003FF
\003FF,BB

Where FF means “Forground colour” and BB means “Background colour”, these are separated using a comma (,). [...]

Here is a list of the colour names, as defined by the mIRC help documents.

0- White
1- Black
2- Blue
3- Green
4- Light Red
5- Brown
6- Purple
7- Orange
8- Yellow
9- Light Green
10- Cyan
11- Light Cyan
12- Light Blue
13- Pink
14- Grey
15- Light Grey
So, for "pink|BlueIce [React Fast!]: What color is this word written? white" can't be created as there's no code for 'BlueIce', but if we replace it with 'Light Blue' the code will be:

Code: Select all

\00313,12[React Fast!]: What color is this word written? white\003
red|BlueIce [React Fast!]: What color is this word written? japan ~> \0034,12 [React Fast!]: What color is this word written? japan\003

and so on. was that hard?

Also, in your seek for answers please don't revive old topics, just wait for an answer on yours.
Once the game is over, the king and the pawn go back in the same box.
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

@caesar

Post by jurist111 »

<Mr^Beaconhouse> Trivia game started by JuRiSt! For an other category use: !choose The cheat protection is OFF
<Mr^Beaconhouse> ===== Question 2/3 =====
<Mr^Beaconhouse> \0034,12 [React Fast!]: What color is this word written? japan\003
<Mr^Beaconhouse> Hint: ***
----------------------------------------------------------------------------
see i dun get the colors instead of tht i get the codes in the question which u ve told me to give see i read all ur posts regarding colors code etc but wasnt able to make question colors
====
any help will b highly regarded :)
JuRiSt
j
jurist111
Voice
Posts: 20
Joined: Thu Aug 26, 2010 8:36 am
Location: pakistan

@raider2k

Post by jurist111 »

Posted: Fri Oct 29, 2010 8:38 pm Post subject:

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

i still dont really get what you are after or is it so simple that you only like to do things like

Code:

putserv "PRIVMSG $chan :This text is \002bold\002 and also in \00304color 4\003"

which appears as
This text is bold and also in color 4
on the channel of your choice?
================================
where i can give this code which u wrote in trivia tcl which m using or in questions file which is in .txt format in ?
i ll tell u again wht i want..i want to make color questions in my trivia tcl or in question file
JuRiSt
Post Reply