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 

Kaos Script with no Colors
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Mon Oct 22, 2007 3:34 am    Post subject: Reply with quote

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 !
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Oct 22, 2007 3:34 am    Post subject: Reply with quote

kwen wrote:
Hello Alchera,

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

Thank you very much of your assistance… Very Happy

My pleasure. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
kwen
Voice


Joined: 12 Jul 2007
Posts: 9

PostPosted: Mon Oct 22, 2007 10:38 am    Post subject: Jeu or Game Reply with quote

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

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


Good Day...
Very Happy
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Mon Oct 22, 2007 1:51 pm    Post subject: Reply with quote

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


Joined: 12 Jul 2007
Posts: 9

PostPosted: Sun Nov 28, 2010 8:38 am    Post subject: Reply with quote

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:
set args [stripcodes bcruag $args]


Example:
Code:
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. Smile


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:

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.
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 Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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