mIRC Homepage
Posted By: Vampiric_Hoshi RE: reading from file problems :( - 10/10/04 01:22 PM
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?
Posted By: Zyzzyx26 Re: RE: reading from file problems :( - 10/10/04 03:49 PM
Try $read($+(",$mircdir,mod.txt"))
© mIRC Discussion Forums