mIRC Home    About    Download    Register    News    Help

Print Thread
#38935 30/07/03 03:38 PM
A
Alba
Alba
A
How can I set an auto responce to any users that try to msg me but ONLY if they is in a certan channal.

is this possible ?

#38936 30/07/03 03:39 PM
R
rela
rela
R
on *:text:*:?:{ if ( $nick ison #that_chan ) { /msg $nick This is your message. } }

Last edited by rela; 30/07/03 03:40 PM.
#38937 30/07/03 07:25 PM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
Note that if ($nick ison #channel) only works, if you are on #channel as well.....

#38938 30/07/03 11:56 PM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
Yes, that might work, what he actually wants to know, is if they are on a certain channel.


While ison #channel will work, it will (as pointed out) work only if you are on that channel as well.



You would need to use a whois and capture the channel raw to figure out the channels the client is on, before sending the message away (based on what the question is).

This is rather messy, and can create lag, and if you do it frequently, you could be killed for flooding.


Link Copied to Clipboard