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
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!! }
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.
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.
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)