| View previous topic :: View next topic |
| Author |
Message |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Sat Apr 02, 2016 9:11 am Post subject: BogusTrivia italic font for SpiKe^^ |
|
|
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  |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Sat Apr 02, 2016 11:48 am Post subject: |
|
|
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
. |
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Fri Apr 15, 2016 8:55 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Sun May 01, 2016 6:50 pm Post subject: BogusTrivia strip ctrl codes test |
|
|
juanamores, try this for me.
Search for this line in the BogusTrivia t-2.tcl file... | Code: | | set a [TStrTrSp [string map [list \017 ""] [stripcodes abcgru $a]]] | and replace it with this... | Code: | | set a [TStrTrSp [string map [list \017 "" \029 ""] [stripcodes abcgru $a]]] |
Then search for this line in the BogusTrivia t-2.tcl file... | Code: | | set a [string map [list \017 ""] [stripcodes abcgru $a]] | and replace it with this... | Code: | | 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
. |
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Tue May 03, 2016 7:21 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Sat May 07, 2016 7:57 pm Post subject: Re: BogusTrivia strip ctrl codes test |
|
|
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  |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Sat May 07, 2016 9:17 pm Post subject: |
|
|
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
. |
|
| Back to top |
|
 |
|