hmm, I see this never got clarified very well..
ok then, to clarify.
If it is called from a timer, have it say
* /if: invalid format (timer <timer name goes here>)
The if error not showing what line and script it's on if it's all on one like should simply be fixed, as that is a bug.
And there you have it.
I'm still having the error.. Hunting for it has been tiresome.. grr..