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.

Kaos Script with no Colors

Support & discussion of released scripts, and announcements of new releases.
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello Kwen

My post dont concern your question about colors, but i see that you use a KAOS questions in french, that i was lookin for quite a while now. Can you be enough kind to tell me where i can get them, or maybe send them to me. Of course, i can give you all the trivia files i have with no problem. Thanks in advance !

IN FRENCH :

Bonjour, je vois que tu utilises un KAOS en francais, ce que je cherche depuis longtemps pour alimenter mon canal de quizz. Ca t embeterai de me dire ou est ce que je pourrai me les procurer, ou carrement me les envoyer ? je suis pret a t envoyer toutes les questions que j ai. Merci d avance !
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

kwen wrote:Hello Alchera,

The problem of the colors is solved thanks to your code.

Thank you very much of your assistance… :D
My pleasure. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
k
kwen
Voice
Posts: 9
Joined: Thu Jul 12, 2007 5:58 am

Jeu or Game

Post by kwen »

For the community that interests, here the bond "kaos" :

http://home.earthlink.net/~techwhiz/uno/


Good Day...
:D
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello Kwen

Thanks for the reply. But actually i m not interested in the script itself, cause i use another script quiz. What i am interested in is that file "kaos.db", that you have in french :) Like i told you, i m ready to exchange with you the trivia files i have. thanks in advance.

IN FRENCH :

Salut, merci pour ta réponse, mais au fait moi je suis interessé par le fichier de questions qui est en Francais, et non pas le script du quizz. Dans le lien que tu m as filé, kaos.db est en anglais, je cherche kaos.db en Francais. Je suis prêt à échanger avec toi les fichiers des questions que j ai. Merci d avance.
k
kwen
Voice
Posts: 9
Joined: Thu Jul 12, 2007 5:58 am

Post by kwen »

Hello,

The problem arises again about the colors of the users.

The robot does not have the colors of the users during the game
Alchera had given a code that worked well.
Alchera wrote:You'd need to insert the following in the appropriate place(s):

Code: Select all

set args [stripcodes bcruag $args]
Example:

Code: Select all

proc KAOS_Start {nick uhost hand chan args} {
global KAOSChannel KAOSRunning KAOSQCount KAOSQNumber KAOSQuestionFile KAOSAdNumber KAOSVersion KDebug
set args [stripcodes bcruag $args]
There are 10 locations for doing this. Simply search for '{nick uhost hand chan args}' and then after the 'global' line add the stripcodes setting (as indcated).

Save and reload the edited file in your bot (.rehash).

The colour problem should then be solved. :)
Since 1.6.19 eggdrop is passed.
I tested this code found on this site, but does not work.
Pberetta wrote:I created strip.tcl like this

Code: Select all

catch {unbind raw - PRIVMSG *raw:irc:msg}
catch {unbind raw - PRIVMSG *raw:PRIVMSG}
bind raw - PRIVMSG striprivmsg
proc striprivmsg {f k a} {
   set a [stripcodes abcgru $a]
   *raw:irc:msg $f $k $a
   *raw:PRIVMSG $f $k $a
}

putlog "colourstripper... Loaded"
Added to egggdrop.conf

But triviascript still doesn't react to users answering in coloured text. Am i doing something wrong? Help would be greatly apreciated

Peer
Users are forced to type /say <answer> or .answer

Can you help me please?

Thank you.

Regards.
Post Reply