There are several things wrong with the script, but first off, what do you want the script to do? Do you want it to message "myserver.org" to a channel when someone private messages/queries you with a line containing the word "hola"? Do you want it to message that to the person who queries you?
Are you trying to respond to a whisper if someone says hola?
on 1:open:?:*hola*:msg $nick myserver.org
Please consult the help file first. /help on open
Youw ould have found this bit.
Originally Posted By: "mIRC help file"
Example: on 1:OPEN:?:*hello*:/echo -s $nick just said hello!
This example triggers if the message which trigger on OPEN contained the word hello. This allows you to react to user message in on OPEN instead of waiting for on TEXT to trigger.