mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2007
Posts: 1
S
Saori Offline OP
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Apr 2007
Posts: 1
Yeah this seems pretty simple but im totally stuck. I want to send a message to the channel when my friend joins and when i check the help file i see

Code:
on 1:JOIN:#:/msg $chan Welcome $nick


i've tried changing the 1 to both the nick and ident@host but that still hasn't worked, it either doesn't work or it works on everyone who joins the channel -_-

Any help appreciated <3



Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
on *:join:#:{
  if $nick == <your friend's nick> {
    .msg $chan Welcome $nick
  }
}

Replace <your friend's nick> with the nick. If you want it for more than one nick, this can be done in various ways, mainly dependent on the number of nicks that you want it for.

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
on nickname*:join:#:/msg $chan hi $nick $+ ! Ive been expecting you!

Joined: Jan 2007
Posts: 280
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Code:
ON *:JOIN:#channel:{
msg $chan Hello $nick $+ !
}

Last edited by DuXxXieJ; 04/04/07 01:35 PM.

Squee whenever a squee squee's. Squee whenever a squee does not squee.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
The OP requested that this be for a single nick. Your code would do it for all nicks..the same as the one included in the help file.

Joined: Jan 2007
Posts: 280
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Didn't saw it was for 1 guy, sorry.


Squee whenever a squee squee's. Squee whenever a squee does not squee.

Link Copied to Clipboard