From the help file under $tip
Quote:
Returns Nth position of tip if it was successfully created, zero if not.

Therefore if it is the first tip, it returns 1, and without the /noop mIRC tries to send the 1 as a command.

So adding the /noop should solve the problem you reported.