mIRC Home    About    Download    Register    News    Help

Print Thread
Auto Hop for a nick #231751 01/05/11 08:30 AM
Joined: May 2011
Posts: 1
K
Kalavani Offline OP
Mostly harmless
OP Offline
Mostly harmless
K
Joined: May 2011
Posts: 1
I need a script which sets hop for a particular nick when that nick joins a particular channel. Can anyone help me out?

Re: Auto Hop for a nick [Re: Kalavani] #231752 01/05/11 11:13 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
on @*:join:#:{
  if ($nick == <Nick>) { .mode # +h $nick }
}

Replace <Nick> with the actual nick.

Re: Auto Hop for a nick [Re: Kalavani] #231754 01/05/11 10:07 PM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Quote:
joins a particular channel
If you only want the script to watch out for a single channel, change the on join bit to this:
Quote:
on @*:join:#YourParticularChannel:{
where you replace #YourParticularChannel with the channel intended.