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.

Problems with Babel 1.0....

Old posts that have not been replied to for several years.
Locked
C
Cla75

Problems with Babel 1.0....

Post by Cla75 »

Hi all...

Seems Babelfish.altavista.com have changed something...in fact the very good script babel 1.0 don't work anymore from today....

Probabily the change affects this line.... in original was...

if {[string match "*<textarea rows=3 wrap=virtual cols=56 name=q>*" $line2]} {
set text [string range $line 55 end]
puthelp "PRIVMSG $translatechan :$text"
}

Now seeing the source of the page of babelfish....i read this....

<textarea rows="6" wrap=virtual cols="28"
style="width:300"name="q">

little different now...but i can change babel tcl 1.0 for it works again?
I don't know what it means that 55 near the keyword end....anyone can help me? or...anyone can make a version 1.1 of babel tcl?

Very Tnx :)
M
MORA
Voice
Posts: 10
Joined: Mon Apr 15, 2002 8:00 pm

Post by MORA »

try to change this line
if {[string match "*<textarea rows=3 wrap=virtual cols=56 name=q>*" $line2]} {
to
if {[string match "*<textarea rows="6" wrap=virtual cols="28"
style="width:300"name="q">*" $line2]} {
or
if {[string match "*<textarea rows=6 wrap=virtual cols=28
style=width:300name=q>*" $line2]} {

- not sure if line2 have stripped ", and dont have the script here ...
MORA @ EFNET #egghelp =)
Locked