mIRC Home    About    Download    Register    News    Help

Topic Options
#211852 - 03/05/09 03:10 AM How to message a user who's joined the channel?
prophetz Offline
Nutrimatic drinks dispenser

Registered: 26/03/09
Posts: 4
Hi, I would like to have a script where when a person joins the channel they get /msg'ed with blahblah

I've had a google around (as you do) and found this :

(err i've actually lost it, but it was something like..)

On *:JOIN:#channel.name: {
msg $nick (your message)

it didn't seem to work - I use the Quakenet network by the way

Any ideas?

Thanks

Top
#211853 - 03/05/09 03:17 AM Re: How to message a user who's joined the channel? [Re: prophetz]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
type /help on join

the very first example is what you want.
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top
#211867 - 03/05/09 06:53 AM Re: How to message a user who's joined the channel? [Re: prophetz]
yidanilazahg Offline
Mostly harmless

Registered: 03/05/09
Posts: 1
I use this to auto-greet people entering the #chatzone channel:

on 1:JOIN:#chatzone: {
.notice $nick Hi $nick , welcome!
}


for for more channels, juz copy & paste the whole command, and change the channel name.

gudluck

Top
#211871 - 03/05/09 09:07 AM Re: How to message a user who's joined the channel? [Re: yidanilazahg]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
"Just copy and paste"-- no.

If you read the help you'd see you can specify multiple channels together if they're comma separated:

on *:JOIN:#chan1,#chan2,...:/msg $nick hi

There's no reason to copy the entire event.
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top
#212067 - 10/05/09 05:12 AM Re: How to message a user who's joined the channel? [Re: argv0]
prophetz Offline
Nutrimatic drinks dispenser

Registered: 26/03/09
Posts: 4
No recipient given (PRIVMSG)
8,2.: [05:11]8,2:.11,12niouuk8,2.:0,1


doesn't seem to work

}
ON *:JOIN:#loltest,#loltest2: {
//msg $nick messagehere
}

Could someone give me working code please? frown

i've tried it myself, I get a blank message in some weird colours

Top
#212068 - 10/05/09 06:03 AM Re: How to message a user who's joined the channel? [Re: prophetz]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
Code:
on *:join:#loltest,#loltest2:{
msg $nick message here
}


Top
#212069 - 10/05/09 08:18 AM Re: How to message a user who's joined the channel? [Re: prophetz]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
Looks like you have a script that's messing with your /msg command

The code you pasted is fine.
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top