Out of range targets give an error message when you try to use a spell on them, even for <tt> macros.

If you have a <t>/<me> or <tt>/<me> macro...that's probably why you aren't getting an error; it just goes to the line that can be executed, which is a self-cast.