Kinda new to this mIRC scripting malarky an having some trouble reading from a file.

Trying to script a bot to say a line from a text file when a keyword is said in chat with the following code:

on *:text:*test*:#mychannel:{ msg $chan $read $mircdir\mod.txt }

However, mIRC just replies with the error message:
/msg INCORRECT PARAMATERS

Where am I going wrong?