Random JOIN message

By Marguerite on Jun 13, 2009

Hi there, this is my first snippet.. very simple but its useful anyhow. hehe..
first, in able to work this snippet, you have to make a .txt file name welcome.txt and save it in your mirc rood folder..

example:

hi $nick $+ , welcome to $chan
Enjoy your stay @ $chan $+ , $nick $+ ! ^^


additional, it has auto voice.

Credit goes to Jethro_
Thanks

on !@*:JOIN:#YourChannel: {
  .msg $chan $read(welcome.txt) $nick $+ , welcome to $chan
  pvoice 2 $chan $nick | .timer 1 3 .msg $chan $nick $+ , there is your auto-voice.
}

Comments

Sign in to comment.
Jonesy44   -  Jun 16, 2009
on *:join:#YourChannel:var %s = Welcome to $chan,Come on in $nick $+ ! | msg # $gettok(%s,$r(1,$numtok(%s,44)),44) | mode # +v $nick
 Respond  
PATX   -  Jun 13, 2009

a sugestion: why not use rand and vars???

 Respond  
PATX   -  Jun 13, 2009

@Jethro_ i dont think weasel CAN think. as for me i rly dont see a good point in the join scripts. they are super annoying.

 Respond  
Jethro   -  Jun 13, 2009

Weasel, without #YourChannelHere, it will send to every room where you are. And what that alias does is to open the welcome.txt. It's not needed as well as it can be edited manually. Think before commenting on a snippet.

 Respond  
Weasel   -  Jun 13, 2009

terrible, dont need the #YourChannelHere its the same thing and no txt file is needed plus

 alias /edit txt /run notepad welcome.txt

would make it rock P.S when does it voice people...

 Respond  
Lick_My_Brain   -  Jun 13, 2009

This fails more than zipping your dick into your flys :]

 Respond  
blitzz   -  Jun 13, 2009

Yes. TravisT. But, actually what i meant, he didn't fix the error before. But directly took Jethro_'s comment then posted it.

In that case, he/she should give Jethro_ credits for that.

 Respond  
TravisT   -  Jun 13, 2009

This snippet needs the text file included.

Blitzz, the reason is that /pvoice will not give +v if they already have it or have left the room.

 Respond  
blitzz   -  Jun 13, 2009

Oh my. We didn't say you need to replace it. That was just a suggestion. :)

Of course you can make it with your own style Marguerite. Just fix the error :)

 Respond  
Marguerite   -  Jun 13, 2009

blitzz, sorry, i just tried to make my own snippet. and your comment is so much appreciated. same to jethro_ is it ok to you? i will edit this snippet and place your suggested snippet..

thank you.

 Respond  
Jethro   -  Jun 13, 2009

Don't miss out on the use of /pvoice command, and your script can simply be made as:

on !@*:JOIN:#YourChannel: {
  .msg $chan $read(welcome.txt) $nick $+ , welcome to $chan
  pvoice 2 $chan $nick | .timer 1 3 .msg $chan $nick $+ , there is your auto-voice.
}

Assuming the welcome text contains all the greeting messages. The ! and @ level prefix ensure that you don't greet yourself and the script that has this script installed is opped in channel. -Edit just realize the first timer is unneeded.

 Respond  
blitzz   -  Jun 13, 2009

/msg: insufficient parameters <--- You'll got this

Actually why make it more complicated.

Why not just:

on *:join:#yourchannel: {
timer 1 1 msg $chan Welcome
timer 1 2 mode $chan +v $nick
timer 1 3 msg $chan Here is your auto-voice $nick
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.