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.
Help for those learning Tcl or writing their own scripts.
pektek
Halfop
Posts: 41 Joined: Sat Jul 01, 2023 4:51 pm
Post
by pektek » Sun Apr 07, 2024 4:19 am
Is a welcome message possible for the channel owner?
CrazyCat
Revered One
Posts: 1276 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Sun Apr 07, 2024 7:01 am
You can use .chinfo to add a greet message to an user (channel specific or not) and do .chanset #channel +greet to activate the display of the userinfo on #channel
pektek
Halfop
Posts: 41 Joined: Sat Jul 01, 2023 4:51 pm
Post
by pektek » Sun Apr 07, 2024 9:38 am
not for everyone. only for channel owner
CrazyCat
Revered One
Posts: 1276 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Sun Apr 07, 2024 10:30 am
Add a chinfo only for the owner.
Or you can do:
proc greet {nick uhost handle chan} {
if {![matchattr $handle |+n $chan]} { return }
putserv "PRIVMSG $chan :hey welcome $nick"
}
bind join |+n * greet
pektek
Halfop
Posts: 41 Joined: Sat Jul 01, 2023 4:51 pm
Post
by pektek » Sun Apr 07, 2024 12:51 pm
I don't understand what you mean chinfo ?
simo
Revered One
Posts: 1100 Joined: Sun Mar 22, 2015 2:41 pm
Post
by simo » Sun Apr 07, 2024 2:54 pm
first you need to determine who is the channel owner is that someone who gets ~ prefixed (on some ircds) after he joins channel or is that the one who is owner of the eggdrop if its the latter CrazyCat's code will work fine for that if its the first u will need something else.
let me ask you on what network are you using this ?
CrazyCat
Revered One
Posts: 1276 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Sun Apr 07, 2024 5:50 pm
pektek wrote: ↑ Sun Apr 07, 2024 12:51 pm
I don't understand what you mean chinfo ?
Go in eggdrop's party-line and type
.help chinfo
pektek
Halfop
Posts: 41 Joined: Sat Jul 01, 2023 4:51 pm
Post
by pektek » Mon Apr 08, 2024 3:22 am
thank you friends