Hello guys, i got a problem with my eggdrop when an IRC user special character like [name].
In my scripts, when someone got this type of name, script will try to execute the nickname like a command [], and then it will just freeze my script cause he can't find any commands with this name ..
I thought when special characters were in a $variable, tcl would not try to exec them.. but im definitly wrong.. or maybe it happen sometimes ?
For me it happen in this part of code :
[lsearch -regexp $scores .:$nick:.]
if $nick got special character [] then i'll get an error msg :/
What can i do to prevent this bug ?
thanks for any help
In my scripts, when someone got this type of name, script will try to execute the nickname like a command [], and then it will just freeze my script cause he can't find any commands with this name ..
I thought when special characters were in a $variable, tcl would not try to exec them.. but im definitly wrong.. or maybe it happen sometimes ?
For me it happen in this part of code :
[lsearch -regexp $scores .:$nick:.]
if $nick got special character [] then i'll get an error msg :/
What can i do to prevent this bug ?
thanks for any help