This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
-
holycrap
- Op
- Posts: 152
- Joined: Mon Jan 21, 2008 11:19 pm
Post
by holycrap »
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.
-
tueb
- Halfop
- Posts: 76
- Joined: Thu Oct 04, 2007 6:09 am
- Location: #quiz.de @ irc.gamesurge.net
-
Contact:
Post
by tueb »
Code: Select all
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
-
holycrap
- Op
- Posts: 152
- Joined: Mon Jan 21, 2008 11:19 pm
Post
by holycrap »
tueb wrote:Code: Select all
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?
-
tueb
- Halfop
- Posts: 76
- Joined: Thu Oct 04, 2007 6:09 am
- Location: #quiz.de @ irc.gamesurge.net
-
Contact:
Post
by tueb »
oh, i missunderstood that.
Code: Select all
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
-
holycrap
- Op
- Posts: 152
- Joined: Mon Jan 21, 2008 11:19 pm
Post
by holycrap »
So, if I wanted to notice the user on join, I would do this?
"NOTICE $nick .... " ?
-
tueb
- Halfop
- Posts: 76
- Joined: Thu Oct 04, 2007 6:09 am
- Location: #quiz.de @ irc.gamesurge.net
-
Contact:
Post
by tueb »
yes