mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2009
Posts: 4
P
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Mar 2009
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

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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"
Joined: May 2009
Posts: 1
Y
Mostly harmless
Offline
Mostly harmless
Y
Joined: May 2009
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

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
"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"
Joined: Mar 2009
Posts: 4
P
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Mar 2009
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

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
on *:join:#loltest,#loltest2:{
msg $nick message here
}


Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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"

Link Copied to Clipboard