mIRC Home    About    Download    Register    News    Help

Print Thread
#231751 01/05/11 08:30 AM
Joined: May 2011
Posts: 1
K
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?

Joined: Aug 2004
Posts: 7,252
R
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.

Joined: Jul 2007
Posts: 1,129
T
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.


Link Copied to Clipboard