View Single Post
Old 08-18-2004, 05:44 AM  
bizniz
Banned
 
Join Date: Feb 2004
Posts: 19
Default

jesus guys, ur all thicko or what? :P

[pre]
mkd = TCL ..\scripts\mkdir.itcl

Code:
set banned {
"\?"
"\*"
"\'"
" "
}
foreach ban $banned {
 if {[string match *$ban* [lindex $args 1]} {
  regsub -all -- [subst -nocommands {$ban}] [lindex $args 1] {_} narg
  set args "MKD $narg"
 }
}
return 0
bizniz is offline   Reply With Quote