but I have discovered that a part of my script- which USED to work FLAWLESSLY.. however, now doesn't seem to work anymore.
I have tracked the problem down to a wildcard character * which has now become part of the string and not a wildcard at all.
further checking/testing revealed that ALL the other *'s throughout the code , as well, are no-longer seen as wildcards either!
so, whats SCREWY thing has gone wrong THIS time?
I have tried the installing the latest ver of TCL and its modules plus, I even recompiled the bot from scratch with no luck...
still doesn't work!
so, what have I done wrong/what has gone a-muck?
note:
I have since upgraded from FBSD 7.4 x 32 bit to FBSD 9.0 x 64 bit when I noticed this #%#@$ has broken!
for example, the following:
Code: Select all
putlog "[catch {foreach T [glob warp_show-*.mp3] {;}}]"
its supposed to return a result of any file(s) which contain the string with a wildcard; example: warp_show-6-9-2013.mp3
also the script snippet:
Code: Select all
if {(![catch {foreach VarA [glob "warp_show*.mp3"] {catch {exec rm -rf $VarA};};}])} {
putquick "NOTICE $nick :Archives deleted!";
} else {
putquick "NOTICE $nick :No archives to delete were found.";
};
these are just 2 examples.. theres even some code that the awesome NML375 did for me that now doesn't work either.
-DjZ-


UPDATE:
I removed this post from its original place and moved it to this forum, sorry about putting it in the wrong place by mistake... OOPS!