Mr. user:which variable?user wrote:the syntax is right, but your variable names don't matchqwek wrote:proc word {text} {
set string [string map {" " "_"} $string]
}
Code: Select all
proc word text {
set text [string map { " " "_" } $text]
}
Code: Select all
proc word2 text {
set text [join [split $text] _]
}
Code: Select all
proc word2 text {
set text [join [split $text] _]
}
Code: Select all
proc word text {
set text [string map { " " "_" } $text]
}
That's your telnet client speaking.qwek wrote:my bot keep like this when i'm telneting
Escape character is '^]'.
i'm sorry, i thought this is from my *.conf files, when i'm doing telnet into my bot address and the msg from telnet client (putty) always like that.user wrote:That's your telnet client speaking.qwek wrote:my bot keep like this when i'm telneting
Escape character is '^]'.
Why did you post that question here btw? If it were a eggdrop problem, like you thought, it'd belong in the eggdrop forum.