mIRC Home    About    Download    Register    News    Help

Print Thread
#213501 29/06/09 05:05 PM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
on 1:open:*: {
if $1 isin *hola* { .say $chan myserver.org }
}

ill do , this , but doesnt work , any help

TheWarlock #213502 29/06/09 05:22 PM
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
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?

What exactly?

TheWarlock #213503 29/06/09 05:36 PM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
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.

DJ_Sol #213505 29/06/09 05:51 PM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
thnx for the fast responding


Link Copied to Clipboard