Go to
about:config in Firefox
Enter
extensions.imacros.maxMacrolength in search
Double click
extensions.imacros.maxMacrolength
Type 5000 or whatever length you want it to be.
Click
OK
Now iMacros won't display message if number of lines in code don't exceed specified number.