Greeting Message

By reider45 on May 29, 2011

Here is a greeting message so when someone joins ur chan it says Whatever you want it to, im becoming a better scripter now because i figured out how 2 use timers :0

on !*:JOIN:#: {
  .timer 1 4 msg $chan Welcome to codlive $nick
}

THIS WAS MADE BY REIDER45, PLEASE REMOVE THIS TEXT

Comments

Sign in to comment.
reider45   -  May 26, 2012

@JoKabua yes it can replace $chan Welcome to codlive $nick
with whatever
$chan says the channel name
$nick says the player name
Customize it to your liking!

 Respond  
JoKabua   -  May 18, 2012

I really like this code, but where should i greet the users went joined... its only say welcome to whatever you put.. can the nick included too

 Respond  
reider45   -  Jun 01, 2011

lol

 Respond  
Cave_Johnson   -  Jun 01, 2011

I don't know, just don't really see the need for it.

 Respond  
reider45   -  Jun 01, 2011

@ cave why not?

 Respond  
irchainscriptz   -  Jun 01, 2011

Group hug :P

 Respond  
Cave_Johnson   -  May 31, 2011

Why have timed?

 Respond  
blackvenomm666   -  May 30, 2011

i will give you that reider at least it works. and no one said to go complicated. just something a bit more useful we all started somewhere. and if you need help there is always here to ask questions on something

 Respond  
napa182   -  May 30, 2011

lol @ reider45 deleting my comments anyways, like i said before think before you post a snippet. Put some thought into them instead of posting every event you learn how to do.

reider45 Wrote:

at least it all works

hmm not very good. what if 5 people join within 3 seconds? it will reset the timer to the last person that joined, so the other 4 would not get a message. also instead of messaging the channel maybe notice the user that joins cuz getting join messages in chan tends to get annoying.

 Respond  
reider45   -  May 30, 2011

at least it all works

 Respond  
reider45   -  May 30, 2011

;( srry that im a beginner scripter its not my falt that i dont know about all of this advanced scripting!!!!!!!!

 Respond  
Jethro   -  May 30, 2011

Yes, I concur with you two about not posting nonsensical snippets. But looking on the bright side, at least this dude is trying and he feels the sense of achievement to post something that he's grasped.

Again, I'm not trying to be judgmental and argumentative here. It's just that I feel sometimes we need to pat each other on the back, for better or worse, to guide someone in the right direction in terms of snippet submissions.

In a gentle way, that is... :p

 Respond  
Jethro   -  May 30, 2011

napa182, you're supposed to encourage beginners or novice users. Let's not bring them down, shall we? :P

 Respond  
napa182   -  May 29, 2011

why did you even bother posting this? =/

 Respond  
reider45   -  May 29, 2011

acually what i use (justin.tv) it wint allow you to sent the same massage within 30 seconds. :/ And if it did can you show me a code (for any script) that will block flooding?

 Respond  
Jethro   -  May 29, 2011

You didn't think of the consequences when a flood takes place. Someone malicious can join with multiple nicks, with multiple identities and hosts, to throw out the client that runs the code. Worse yet, you may get banned for sending so many timed messages. I realize I should have used $chan instead of $site. Then if I were you, I'd use 2 secs.

Perhaps you haven't experienced flood attacks yet, but when you do, you'll change your whole perspective when writing a code.

Simplicity is better indeed, but it's limited when dealing with certain scenarios.

 Respond  
reider45   -  May 29, 2011

Sorry but i honestly think that my way may be better...sometimes the simplier the better :D

 Respond  
Jethro   -  May 29, 2011

It'd be best if you used a dynamic timer:

$+(.timer,$chan) 1 4 msg $chan Welcome to codlive $nick

This way the timer is named based on his or her hosts. If you ever get attacked by flood, the timer will only be overridden.

 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.