| View previous topic :: View next topic |
| Author |
Message |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sat Jul 25, 2009 7:58 am Post subject: really really really simple greet [SOLVED] |
|
|
Hi guys.
I’ve searched through the forum and archive but was overwhelmed with all the greet scripts. I’m looking for something really simple.
Three lines, notice the user on join:
Example:
* holycrap has joined #channel
-bot- blah blah blah
-bot- blah blah blah
-bot- hi holycrap welcome
Really appreciated for all the help!

Last edited by holycrap on Sat Jul 25, 2009 12:57 pm; edited 1 time in total |
|
| Back to top |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Sat Jul 25, 2009 9:09 am Post subject: |
|
|
| Code: | bind join - * tueb_on_joined
proc tueb_on_joined {nick host handle channel} {
set greeting "hi $nick welcome"
puthelp "PRIVMSG $channel :$greeting"
} |
hi,
this should do the trick
change "hi $nick welcome" to the greeting you like. use $nick for the nick of the joining user and $channel for the channelname where the user joined.
tueb _________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sat Jul 25, 2009 10:24 am Post subject: |
|
|
| tueb wrote: | | Code: | bind join - * tueb_on_joined
proc tueb_on_joined {nick host handle channel} {
set greeting "hi $nick welcome"
puthelp "PRIVMSG $channel :$greeting"
} |
hi,
this should do the trick
change "hi $nick welcome" to the greeting you like. use $nick for the nick of the joining user and $channel for the channelname where the user joined.
tueb |
Thanks tueb! Sorry, but I'm a bit confused, so how do I get multiple lines? Like the three that I wanted?
 |
|
| Back to top |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Sat Jul 25, 2009 10:32 am Post subject: |
|
|
oh, i missunderstood that.
| Code: | bind join - * tueb_on_joined
proc tueb_on_joined {nick host handle channel} {
set line_one "blah blah blah 1"
set line_two "blah blah blah 2"
set greeting "hi $nick welcome"
puthelp "PRIVMSG $channel :$line_one"
puthelp "PRIVMSG $channel :$line_two"
puthelp "PRIVMSG $channel :$greeting"
} |
this will print 3 lines _________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sat Jul 25, 2009 10:35 am Post subject: |
|
|
So, if I wanted to notice the user on join, I would do this?
"NOTICE $nick .... " ? |
|
| Back to top |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Sat Jul 25, 2009 10:39 am Post subject: |
|
|
yes _________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
|