mIRC Home    About    Download    Register    News    Help

Print Thread
help on open #213501
29/06/09 05:05 PM
29/06/09 05:05 PM
Joined: Nov 2007
Posts: 117
T
TheWarlock Offline OP
Vogon poet
TheWarlock  Offline OP
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

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

Re: help on open [Re: TheWarlock] #213503
29/06/09 05:36 PM
29/06/09 05:36 PM
Joined: Jan 2007
Posts: 1,156
Seattle
D
DJ_Sol Offline
Hoopy frood
DJ_Sol  Offline
Hoopy frood
D

Joined: Jan 2007
Posts: 1,156
Seattle
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.

Re: help on open [Re: DJ_Sol] #213505
29/06/09 05:51 PM
29/06/09 05:51 PM
Joined: Nov 2007
Posts: 117
T
TheWarlock Offline OP
Vogon poet
TheWarlock  Offline OP
Vogon poet
T

Joined: Nov 2007
Posts: 117
thnx for the fast responding