I think you mean
alias -l config.source ...
Either that, or
msg $chan Lines of Code: $lines($$$config.source) ...
Fixed
two $ ($$config.source) will require the identifier return a non-false (not null, 0, or some such) string.
His original code was
alias -l $config.source ...
The only way to access that alias is with $$$config.source, but he was using $config.source in the rest of the code.
Ah, well even so, it's better he know than not know >.>
Fixed