It's a sore sight. I can't read that, but from what I can see, it's vulnerable. $readini(reklameL.ini,data,lines)
yaaaaar
Does mIRC know about "$mysql_query"? Are you loading the DLL that I reckon you'll be needing for that?

Now tell me, honestly, where did you copy/paste that code from, and why haven't you read the relevant parts of the mIRC help file that would help you understand how this works?