You are not supposed to have any space between the name of the function and the parameter list. The only reason it works is because some people did it this way in the past and their projects broke with the new system.
Incorrect: SPRITEVALID (3)
Correct: SPRITEVALID(3)
Also, only SilverCreator v2.0b1 is supported. If you are using an older version, I can not help you.
You may be experiencing a particular bug in your code as well. What happens is that an error inside of the HIT method is shown as if it occurred wherever you called the HIT method. The bug is fixed in v2.0b2 which will be released soon.