mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2010
Posts: 13
D
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!

Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
on *:join:#:{
if ($nick == NickHere) {
msg $chan YourMessageHere
}
}

Joined: Oct 2004
Posts: 8,330
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

Link Copied to Clipboard