"the name is a sequence of one or more characters that are a letter, digit, underscore, or namespace separators (two or more colons)."
- http://tcl.tk/man/tcl8.4/TclCmd/Tcl.htm#M11
Dedan wrote:so, tcl has a problem with vars that have a "-" in them?
what about all those in th conf file?
Tcl doesn't have a problem with them. Some users have a problem addressing them the right way though
You can use any char you like in a variable name, but the $ parser is a bit picky. (like I mentioned in my previous post)
Using "-" in a variable name only leads to extra work when you want variable substitution, so why don't you use "_" instead or start using 'set' to retrieve the value?
I've no idea why the eggdrop developers chose to use "-"