On Join

By Hawkee on Sep 19, 2003

This is a very simple on join script that sends a welcome message to the channel when somebody enters.

on 1:JOIN:#:/msg $chan Welcome $nick

Comments

Sign in to comment.
SneakyAzShiite   -  Mar 05, 2014

Is there any chance i can get further assistance on this? I have a welcome script and am trying to fix it up for my twitch chat. They have a rule of no more than 30messages over 20seconds and i wanna make sure i dont break that rules again. I talked to xangold and he told me what i need.

xangold- "Add them to a hashtable, check the table every 1.6 seconds, and remove top message and send it or add them to a window if you must have them sequentially sent."
me- "I've been looking to change it to welcome multiple people if they join together. That only counts as one msg right?"
xangold- "Correct, that was the "merge" part (plus it looks nicer)"

Hopefully this is an appropriate place to ask for help? Im really new at this and am working to learn it.

This is my basic "join" message-
on *:JOIN:#: { msg $chan Welcome $nick to my stream, enjoy the nuggets!! }

Noutrious  -  Mar 05, 2014

Haven't coded in mSL for a long time (and am writing this right here in textarea), but it should be something like this:
alias -l wsettings {
if ($1 == chan) return #yourchan
if ($1 == delay) return 2
}
alias -l outputwelcomes {
msg $wsettings(chan) Welcome %welcomestr to my stream, enjoy the nuggets!!
unset %welcomestr
}
on :START:{ unset %welcomestr | .timer 0 $wsettings(delay) outputwelcomes }
on
:JOIN:#:if ($chan == $wsettings(chan)) set %welcomestr $addtok($welcomestr,$nick,44)

SneakyAzShiite  -  Mar 06, 2014

I couldnt get it to work unfortunately. Maybe im doing something wrong.

Sign in to comment

afp_romania   -  Dec 09, 2012

I have found what i was looking for! Good job.

 Respond  
Stewie1k94   -  Sep 19, 2012

I find it completely weird how everyone's sarcastic on it being "Such a good snippet" as the description states it's a "very simple script" >.>

 Respond  
SnoooP   -  Feb 24, 2011

I am a littler beginner to Hawkee, I concur, being here for 7 years, registered for 6 is just a lie lol

 Respond  
_Dean_   -  Feb 24, 2011

Jethro I hope you close your windows at night, you may wake up one night with Dean standing over your sleeping body, notice how quickly he replied to this after your post, fascinating :P

i made a snippet to check comments and new snippets posted here each 2 minutes thats why, little begginner

 Respond  
Jethro   -  Feb 24, 2011

Dean 's being himself with his usual emotional, sensitive side... No one can tell him what to do until he outgrows his own ordeal.

 Respond  
SnoooP   -  Feb 24, 2011

Jethro I hope you close your windows at night, you may wake up one night with Dean standing over your sleeping body, notice how quickly he replied to this after your post, fascinating :P

 Respond  
_Dean_   -  Feb 23, 2011

you have a new fan now Jethro_, congrats

 Respond  
Jethro   -  Feb 23, 2011

So you can shove it? :P lol

 Respond  
MoshMage   -  Feb 23, 2011

Jethro wins x) No. Jamiie wins for bringing a shovel [i was going to write shelf xD]

 Respond  
Jethro   -  Feb 23, 2011

Serperntsounds, Scott told me he's going to make you a forum moderator for the compliment. lol :p jk!

 Respond  
Serpentsounds   -  Feb 23, 2011

Better than half the stuff I see submitted nowadays.

 Respond  
Jamiie   -  Feb 23, 2011

Gravedig.

 Respond  
biase   -  Aug 22, 2010

a simple code for Hawkee brilliant snippet

on 1:JOIN:#:/msg $nick Welcome $nick
on 1:OPEN:?::/msg $nick Welcome $nick to you too
on 1:TEXT:?:
:/msg $nick $nick $+ , do you too need a welcome?

 Respond  
d8e93jf9vwp   -  Aug 21, 2010

I use this script as on
on *:JOIN:#: {msg $chan Welcome $nick $+ . }
It works. Bracket mismatch my balls.

 Respond  
Jethro   -  May 02, 2010

It's too amazingly basic, yet it comes with a drawback: prone to flooding. Especially for a channel that is big, busy and has lots of folks join at the same time. Nevertheless, it's a good little on join welcome snippet for a small, less busy channel.

 Respond  
AnaBotNowYourGone   -  May 02, 2010

1,000/10. Simply amazing.

 Respond  
Eurynome   -  Apr 22, 2009

Dude wasn't that an example script in the mIRC help files. lol
could make it more funnier by adding kick feature,you know, on join nick is kicked on/off.

 Respond  
Kirby   -  Oct 16, 2008

I love this script.
/me rates 10 + likes

 Respond  
Hawkee   -  Sep 16, 2008

2003 is when we added snippets. The site has been running since 1997.

 Respond  
a careful warchild   -  Sep 16, 2008

its been running since 2003 0.0

 Respond  
Eugenio   -  Aug 19, 2008

ROFL
best script on hawkee
woah @ 2003

 Respond  
Basillisk   -  Aug 19, 2008

I've never seen anything better!!!

20/10 all the way :D

 Respond  
pwnisher3   -  Aug 17, 2008

this code can be fun when bored try this when you get bored

on 1:join:#:/kick # $nick i just don't like you
on 1:kick:#:/join #

then just type /hop and watch the repeating cycle

 Respond  
SnoooP   -  May 16, 2008

i decided to rate it a 10 outta boredom soo... lol deal with it :P~~ lmao

 Respond  
M[n]M   -  Feb 21, 2008

right .. :]

 Respond  
EL   -  Feb 10, 2008

JUB369 can DO EET for us moutaindew~! JUB369 can do anything~!

*Busts out the jub369 signal an waits....

 Respond  
guest598594   -  Feb 10, 2008

the snippet system is working perfectly except for those ppl who submits the score depending on the Authors popularity and not the snippet quality...so u still have sth wrong with the snippet system i hope u can fix this ;)

umm...i don\'t think he can fix how people rate other people\'s snippets based on popularity.

 Respond  
EL   -  Feb 10, 2008

haha no problem ;) just get it right next time :P just joking, I really wouldn\'t have cared normally, but I was just really bored, lol

LOL yeah me to =\ an will do thanks to my new found knowledge curtosy of you>P

Okay guys, I only added this to test the snippet system when it was first introduced back in 2003. This was before the 100 character rule.

Yeah dont have a huff wasnt aware of the snippets age or the when the rules changed.Thanks for the update tho.

 Respond  
Gex   -  Feb 10, 2008

the snippet system is working perfectly except for those ppl who submits the score depending on the Authors popularity and not the snippet quality...so u still have sth wrong with the snippet system i hope u can fix this ;)

 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.