Matchattr Tcl Command Issues

From EggWiki
Jump to navigation Jump to search

Until Eggdrop 1.8.3, the Tcl command 'matchattr' accepted "-|-" (any or no flags) as a valid mask to match against. In 1.8.3, an attempt to fix a bug causing invalid flags to match as 'true' accidentally removed this capability, causing scripts using this method to instead return "Tcl error: Unknown flag specified for matching" (and breaking the script).

In 1.9.4, the original functionality of matchattr was restored, once again allowing the "-|-" mask to be used with matchattr. If you are encountering this issue with a script, consider checking the version of your Eggdrop and upgrading to the current version, as it may resolve that error in some cases.