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.

Message ?

Help for those learning Tcl or writing their own scripts.
Post Reply
p
pektek
Halfop
Posts: 55
Joined: Sat Jul 01, 2023 4:51 pm

Message ?

Post by pektek »

Is a welcome message possible for the channel owner?
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: Message ?

Post by CrazyCat »

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
p
pektek
Halfop
Posts: 55
Joined: Sat Jul 01, 2023 4:51 pm

Re: Message ?

Post by pektek »

not for everyone. only for channel owner
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: Message ?

Post by CrazyCat »

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
p
pektek
Halfop
Posts: 55
Joined: Sat Jul 01, 2023 4:51 pm

Re: Message ?

Post by pektek »

I don't understand what you mean chinfo ?
s
simo
Revered One
Posts: 1107
Joined: Sun Mar 22, 2015 2:41 pm

Re: Message ?

Post by simo »

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 ?
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: Message ?

Post by CrazyCat »

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
p
pektek
Halfop
Posts: 55
Joined: Sat Jul 01, 2023 4:51 pm

Re: Message ?

Post by pektek »

thank you friends :wink:
Post Reply