mIRC Home    About    Download    Register    News    Help

Print Thread
#38935 30/07/03 03:38 PM
Joined: Jun 2003
Posts: 5
A
Alba Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Jun 2003
Posts: 5
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 ?


Regards,

- = Alba = -
#38936 30/07/03 03:39 PM
Joined: Jan 2003
Posts: 45
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Jan 2003
Posts: 45
on *:text:*:?:{ if ( $nick ison #that_chan ) { /msg $nick This is your message. } }

Last edited by rela; 30/07/03 03:40 PM.

@#botwars @Kreynet
#38937 30/07/03 07:25 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Note that if ($nick ison #channel) only works, if you are on #channel as well.....


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#38938 30/07/03 11:56 PM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
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.


--------
mIRC - fun for all the family (except grandma and grandpa)

Link Copied to Clipboard