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.

bind join on specific channel

Old posts that have not been replied to for several years.
Locked
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

bind join on specific channel

Post by Pitchat »

Hi

i have a script that works on all channel the eggdrop is on but i`d like to have it working only on one channel and i cant figure out how to arrange this .

here`s the bind join as it looks now

Code: Select all

bind join * * join_check
and the proc that goes along with it

Code: Select all

proc join_check {nick host hand chan} {
   global code rules num timer botnick
  if {![botisop $chan]} {
    return
Any help welcome :)
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Code: Select all

bind join -|- "#channel *" join_check
I *think* as i don't ever use it for specific channels, but it should be like that
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Confirmation: I usually use it.
And never forget the * following the channel name, or you won't bind anything.
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

Post by Pitchat »

thanks
i just remember using it in the past and your correct ;) it was just a momentary memory failure from me

i should sleep more and work less :)

thanks for all
Locked