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.
Old posts that have not been replied to for several years.
-
Bader
- Voice
- Posts: 35
- Joined: Sat Mar 12, 2005 5:34 am
Post
by Bader »
I wanna a greeting for the channel, like when some specific USER join the channel, the bot greets him.
-
awyeah
- Revered One
- Posts: 1580
- Joined: Mon Apr 26, 2004 2:37 am
- Location: Switzerland
-
Contact:
Post
by awyeah »
Here is something relevant which I use:
Code: Select all
bind join - "*" greet:user
proc greet:user {nick uhost hand chan} {
if {![isbotnick $nick] && [string equal "Cinderella" $nick]} {
putserv "PRIVMSG $chan :Senorita, Cinderella! ;)"
}
}
This will greet the nick 'Cinderella' when it joins a channel. You can also specify it to work on a specific channel.
Last edited by
awyeah on Mon Apr 11, 2005 3:10 pm, edited 1 time in total.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
-
greenbear
- Owner
- Posts: 733
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Norway
Post
by greenbear »
You don't need a script to do that,
on partyline type
.chanset #channel +greet
.chinfo USER <greet msg>
-
Bader
- Voice
- Posts: 35
- Joined: Sat Mar 12, 2005 5:34 am
Post
by Bader »
awyeah wrote:Here is something relevant which I use:
Code: Select all
bind join - "*" greet:user
proc greet:user {nick uhost hand chan} {
if {![isbotnick $nick] && [string equal "Cinderella" $nick]} {
putserv "PRIVMSG $chan :Senorita, Cinderella! ;)"
}
}
This will greet the nick 'Cinderella' when it joins a channel. You can also specify it to work on a specific channel.
some error
Tcl error [greet:user]: extra characters after close-quote
-
Bader
- Voice
- Posts: 35
- Joined: Sat Mar 12, 2005 5:34 am
Post
by Bader »
Bader wrote:awyeah wrote:Here is something relevant which I use:
Code: Select all
bind join - "*" greet:user
proc greet:user {nick uhost hand chan} {
if {![isbotnick $nick] && [string equal "Cinderella" $nick]} {
putserv "PRIVMSG $chan :Senorita, Cinderella! ;)"
}
}
This will greet the nick 'Cinderella' when it joins a channel. You can also specify it to work on a specific channel.
some error
Tcl error [greet:user]: extra characters after close-quote
thanks guys its working know