mIRC Home    About    Download    Register    News    Help

Print Thread
How to say text when the person you select joins #231517 21/04/11 09:53 AM
Joined: Dec 2010
Posts: 13
D
DJJIGGLER Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Dec 2010
Posts: 13
How would i make a script, for when a user/nick i select joins the channel, and it says a message?

thanks!

Re: How to say text when the person you select joins [Re: DJJIGGLER] #231518 21/04/11 11:57 AM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
on *:join:#:{
if ($nick == NickHere) {
msg $chan YourMessageHere
}
}

Re: How to say text when the person you select joins [Re: DJJIGGLER] #231519 21/04/11 12:03 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
If you have a couple of nicks, use what Tomao provided. If you have a lot of nicks and a single message, then it will be easier to put them into the Users tab in the form of:

joinnotice:nick!*ident@host.com

Replace the part after the colon with whatever you want the match to be. Put everyone there using the same level name (joinnotice). You can, of course, change the level name to whatever you want.

Then, you can use this:

Code:
on joinnotice:join:#: { msg $chan Welcome }


You can also build a more complex script that lets you add and remove nicks and use multiple messages from a right click menu or dialog. Or you can just go to one of the scripting sites and download one that is already written. This kind of script would probably be listed as a "welcome script" on those sites.


Invision Support
#Invision on irc.irchighway.net