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.

BogusTrivia italic font for SpiKe^^

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

BogusTrivia italic font for SpiKe^^

Post by juanamores »

Dear SpiKe^^, have you seen this post ?
The solution is for the BogusTrivia.
regards
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 :)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

juanamores: yes I have seen the post you reference above.

BogusTrivia already includes a function to remove all standard irc control chars from user input.

I see several possible cures for the issue:
1) Try asking that user to use plain text when playing BogusTrivia.
2) Try asking that user to only use standard irc ctrl chars when playing BogusTrivia.
3) Identify exactly what char they are using, and pass that info on to the forum thread above.
No one can remove the char if we don't know what it is.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Post by juanamores »

I already fixed it and work, see at the final answer to this post.
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 :)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

BogusTrivia strip ctrl codes test

Post by SpiKe^^ »

juanamores, try this for me.


Search for this line in the BogusTrivia t-2.tcl file...

Code: Select all

     set a [TStrTrSp [string map [list \017 ""] [stripcodes abcgru $a]]]
and replace it with this...

Code: Select all

     set a [TStrTrSp [string map [list \017 "" \029 ""] [stripcodes abcgru $a]]]

Then search for this line in the BogusTrivia t-2.tcl file...

Code: Select all

     set a [string map [list \017 ""] [stripcodes abcgru $a]]
and replace it with this...

Code: Select all

     set a [string map [list \017 "" \029 ""] [stripcodes abcgru $a]]

Please let me know if this helps any.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Post by juanamores »

Thanks SpiKe^^ for collaboration.
When I try communicate the results.
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 :)
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Re: BogusTrivia strip ctrl codes test

Post by juanamores »

I modified the lines you 've told me, but not works with Italic font .
Don't worry, hardly anyone uses that font.
Thank you for your kind help.
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 :)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

OK, just thought I would give it one try with the available information.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Post Reply