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 

How to make Color Questions?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
jurist111
Voice


Joined: 26 Aug 2010
Posts: 20
Location: pakistan

PostPosted: Fri Oct 15, 2010 12:08 pm    Post subject: How to make Color Questions? Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Fri Oct 15, 2010 12:52 pm    Post subject: Reply with quote

*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.
Back to top
View user's profile Send private message
jurist111
Voice


Joined: 26 Aug 2010
Posts: 20
Location: pakistan

PostPosted: Sat Oct 16, 2010 5:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sun Oct 17, 2010 3:28 am    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jurist111
Voice


Joined: 26 Aug 2010
Posts: 20
Location: pakistan

PostPosted: Mon Oct 18, 2010 7:21 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
jurist111
Voice


Joined: 26 Aug 2010
Posts: 20
Location: pakistan

PostPosted: Fri Oct 29, 2010 5:27 pm    Post subject: Reply with quote

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] [color=red] -------[/col
_________________
JuRiSt
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
raider2k
Op


Joined: 01 Jan 2008
Posts: 140

PostPosted: Fri Oct 29, 2010 8:38 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Oct 30, 2010 3:56 am    Post subject: Reply with quote

If you have bothered checking the link I previously mentioned you would have noticed this part:
Quote:

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:

\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.
Back to top
View user's profile Send private message
jurist111
Voice


Joined: 26 Aug 2010
Posts: 20
Location: pakistan

PostPosted: Wed Nov 03, 2010 10:41 pm    Post subject: @caesar Reply with quote

<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 Smile
_________________
JuRiSt
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
jurist111
Voice


Joined: 26 Aug 2010
Posts: 20
Location: pakistan

PostPosted: Wed Nov 03, 2010 10:50 pm    Post subject: @raider2k Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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